Skip to content
Snippets Groups Projects
Unverified Commit 6b16b77a authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix external authentication not running onboarding code for new users (#23458)

parent 8784498e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment