Class: Clearance::PasswordStrategies::BCryptMigrationFromSHA1::SHA1User

Inherits:
Object
  • Object
show all
Includes:
SHA1
Defined in:
lib/clearance/password_strategies/deprecated/bcrypt_migration_from_sha1.rb

Instance Method Summary collapse

Methods included from SHA1

#authenticated?, #password=

Constructor Details

#initialize(user) ⇒ SHA1User

Returns a new instance of SHA1User.



17
18
19
# File 'lib/clearance/password_strategies/deprecated/bcrypt_migration_from_sha1.rb', line 17

def initialize(user)
  @user = user
end