mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Fix external authentication not running onboarding code for new users (#23458)
This commit is contained in:
parent
8784498ebf
commit
6b16b77ab0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue