diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-10-23 18:20:28 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-10-28 17:11:00 +0000 |
commit | d551a1f6a7be39646e718683b14a572402e23981 (patch) | |
tree | 7c6129a7fe2adbf4123f58f6765bdccc3178892d /perllib/FixMyStreet/App/Controller/Report/Update.pm | |
parent | dce115c18fcc3565176b0d65fe7a70926a8eb213 (diff) |
Allow non-superusers to store 2FA secrets.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/Update.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/Update.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm index 28a58d4f8..1dc337c48 100644 --- a/perllib/FixMyStreet/App/Controller/Report/Update.pm +++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm @@ -501,7 +501,7 @@ sub redirect_or_confirm_creation : Private { return 1; } - # Superusers using 2FA can not log in by code + # People using 2FA can not log in by code $c->detach( '/page_error_403_access_denied', [] ) if $update->user->has_2fa; my $data = $c->stash->{token_data}; |