Module: Merb::Authentication::Mixins::SaltedUser::SQ3Hooks

Included in:
SQInstanceMethods
Defined in:
lib/merb-auth-more/mixins/salted_user/sq_salted_user.rb

Instance Method Summary collapse

Instance Method Details

#before_saveObject



8
9
10
11
# File 'lib/merb-auth-more/mixins/salted_user/sq_salted_user.rb', line 8

def before_save
  return false if super == false
  encrypt_password
end