Modifications sur la méthode after_confirmation dans le modèle user

This commit is contained in:
Kara Diaby 2024-07-04 22:03:20 +00:00
parent a4b8d816de
commit 337f88575d
No known key found for this signature in database
GPG key ID: C4D1B0CF9F24D759

View file

@ -65,7 +65,6 @@ class User < ApplicationRecord
# Callback provided by Devise
def after_confirmation
update!(email_verified_at: Time.zone.now)
link_invites!
end