Skip to content

Commit

Permalink
fix: remove devise confirmation skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewis Youl committed Apr 5, 2021
1 parent 7029f07 commit 0355648
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ def self.from_omniauth(auth)
user.email = auth.info.email
user.password = Devise.friendly_token[0, 20]
user.name = unique_name(parsed_name(auth.info.nickname)) # github display name
user.skip_confirmation! # github already validates emails
end

if is_new_user && user.persisted?
Expand Down

0 comments on commit 0355648

Please sign in to comment.