1
0
Fork 0

Do not confirm email after OAuth (closes #24)

This commit is contained in:
Alex Kotov 2019-01-30 03:04:32 +05:00
parent a061d0dcc0
commit dbd7d652bd
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -28,7 +28,6 @@ private
email: context.email, email: context.email,
).lock(true).first_or_initialize do |new_user| ).lock(true).first_or_initialize do |new_user|
new_user.password = Devise.friendly_token[0, 20] new_user.password = Devise.friendly_token[0, 20]
new_user.confirmed_at = Time.zone.now
end end
end end