Browse Source

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

closed-social-glitch-2
Claire 1 year ago
committed by GitHub
parent
commit
6b16b77ab0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/concerns/omniauthable.rb

+ 1
- 1
app/models/concerns/omniauthable.rb View File

@ -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…
Cancel
Save