diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-03-03 20:45:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 20:45:55 +0100 |
commit | 6b16b77ab0f347e688f009c5a04961142b8dd203 (patch) | |
tree | bb27b29528f7f920f12de5e9ef0ef8f0843ace85 /app | |
parent | 8784498ebfc5508034f447d92645551d9d2c5907 (diff) |
Fix external authentication not running onboarding code for new users (#23458)
Diffstat (limited to 'app')
-rw-r--r-- | app/models/concerns/omniauthable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/omniauthable.rb b/app/models/concerns/omniauthable.rb index b0aa5be6f..41eae215b 100644 --- a/app/models/concerns/omniauthable.rb +++ b/app/models/concerns/omniauthable.rb @@ -61,7 +61,7 @@ module Omniauthable user.account.avatar_remote_url = nil end - user.skip_confirmation! if email_is_verified + user.confirm! if email_is_verified user.save! user end |