module Devise::Models::DatabaseAuthenticatable

def after_database_authentication


end
self.update_attribute(:invite_code, nil)
def after_database_authentication

Example:

authenticates.
used to insert your own logic that is only run after the user successfully
A callback initiated after successfully authenticating. This can be
def after_database_authentication
end