aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/auth.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-10-23 18:20:28 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-10-28 17:11:00 +0000
commitd551a1f6a7be39646e718683b14a572402e23981 (patch)
tree7c6129a7fe2adbf4123f58f6765bdccc3178892d /t/app/controller/auth.t
parentdce115c18fcc3565176b0d65fe7a70926a8eb213 (diff)
Allow non-superusers to store 2FA secrets.
Diffstat (limited to 't/app/controller/auth.t')
-rw-r--r--t/app/controller/auth.t1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t
index ffabc75f3..fc1966b17 100644
--- a/t/app/controller/auth.t
+++ b/t/app/controller/auth.t
@@ -290,7 +290,6 @@ subtest "Test two-factor authentication login" => sub {
my $wrong_code = $auth->code(undef, time() - 120);
my $user = FixMyStreet::App->model('DB::User')->find( { email => $test_email } );
- $user->is_superuser(1);
$user->password('password');
$user->set_extra_metadata('2fa_secret', $auth->secret32);
$user->update;