Fix external authentication not running onboarding code for new users (#23458)
parent
cdc026c2fb
commit
5acc02793a
|
@ -61,7 +61,7 @@ module Omniauthable
|
||||||
user.account.avatar_remote_url = nil
|
user.account.avatar_remote_url = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
user.skip_confirmation! if email_is_verified
|
user.confirm! if email_is_verified
|
||||||
user.save!
|
user.save!
|
||||||
user
|
user
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue