diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-11-22 19:07:26 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-11-23 14:52:02 +0000 |
commit | 5ee12f1525fd928cb7af7558b61a2d0a001155bf (patch) | |
tree | 1f6cedb8abbde5ffa049289aa4995a9ad51e4486 /perllib/FixMyStreet/App.pm | |
parent | 09026f609ce28860d555967e0f5d7cd833fb20d0 (diff) |
Switch to internal QR code generator.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r-- | perllib/FixMyStreet/App.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index 3e8c07fb0..42556d1df 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -13,7 +13,7 @@ use FixMyStreet::Email::Sender; use FixMyStreet::PhotoStorage; use Utils; -use Auth::GoogleAuth; +use FixMyStreet::Auth::GoogleAuth; use Path::Tiny 'path'; use Try::Tiny; use Text::CSV; @@ -528,7 +528,7 @@ sub check_2fa { my ($c, $secret32) = @_; if (my $code = $c->get_param('2fa_code')) { - my $auth = Auth::GoogleAuth->new; + my $auth = FixMyStreet::Auth::GoogleAuth->new; return 1 if $auth->verify($code, 2, $secret32); $c->stash->{incorrect_code} = 1; } |