Do not confirm email after OAuth (closes #24)
This commit is contained in:
parent
a061d0dcc0
commit
dbd7d652bd
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in a new issue