Modifications sur la méthode after_confirmation dans le modèle user
This commit is contained in:
parent
a4b8d816de
commit
337f88575d
1 changed files with 0 additions and 1 deletions
|
@ -65,7 +65,6 @@ class User < ApplicationRecord
|
||||||
|
|
||||||
# Callback provided by Devise
|
# Callback provided by Devise
|
||||||
def after_confirmation
|
def after_confirmation
|
||||||
update!(email_verified_at: Time.zone.now)
|
|
||||||
link_invites!
|
link_invites!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue