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/Auth.pm | |
parent | dce115c18fcc3565176b0d65fe7a70926a8eb213 (diff) |
Allow non-superusers to store 2FA secrets.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Auth.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Auth.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Auth.pm b/perllib/FixMyStreet/App/Controller/Auth.pm index e23690368..9680a5624 100644 --- a/perllib/FixMyStreet/App/Controller/Auth.pm +++ b/perllib/FixMyStreet/App/Controller/Auth.pm @@ -257,7 +257,7 @@ sub process_login : Private { $c->detach( '/page_error_403_access_denied', [] ) if FixMyStreet->config('SIGNUPS_DISABLED') && !$user->in_storage && !$data->{old_user_id}; - # 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 $user->has_2fa; if ($data->{old_user_id}) { |