Class: Morpho::Configurations::Auth

Inherits:
Object
  • Object
show all
Defined in:
lib/morpho/configurations/auth.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAuth

Returns a new instance of Auth.



6
7
8
9
# File 'lib/morpho/configurations/auth.rb', line 6

def initialize
  self. = 0
  self.password_minimum_length = 8
end

Instance Attribute Details

#failed_login_attempts_limitObject

Returns the value of attribute failed_login_attempts_limit.



4
5
6
# File 'lib/morpho/configurations/auth.rb', line 4

def 
  @failed_login_attempts_limit
end

#password_minimum_lengthObject

Returns the value of attribute password_minimum_length.



5
6
7
# File 'lib/morpho/configurations/auth.rb', line 5

def password_minimum_length
  @password_minimum_length
end