about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-03-03 20:45:55 +0100
committerGitHub <noreply@github.com>2023-03-03 20:45:55 +0100
commit6b16b77ab0f347e688f009c5a04961142b8dd203 (patch)
treebb27b29528f7f920f12de5e9ef0ef8f0843ace85 /app
parent8784498ebfc5508034f447d92645551d9d2c5907 (diff)
Fix external authentication not running onboarding code for new users (#23458)
Diffstat (limited to 'app')
-rw-r--r--app/models/concerns/omniauthable.rb2
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