aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Auth
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Auth')
-rw-r--r--perllib/FixMyStreet/App/Controller/Auth/Social.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Auth/Social.pm b/perllib/FixMyStreet/App/Controller/Auth/Social.pm
index 17ace0205..097cac984 100644
--- a/perllib/FixMyStreet/App/Controller/Auth/Social.pm
+++ b/perllib/FixMyStreet/App/Controller/Auth/Social.pm
@@ -185,7 +185,7 @@ sub oauth_success : Private {
# If we've got here with a full user, log in
if ($user) {
- $c->authenticate( { email => $user->email }, 'no_password' );
+ $c->authenticate( { email => $user->email, email_verified => 1 }, 'no_password' );
$c->stash->{login_success} = 1;
}