|
|
|
@ -300,7 +300,7 @@ class User < Principal
|
|
|
|
|
attr_accessor :password, :password_confirmation
|
|
|
|
|
attr_accessor :last_before_login_on
|
|
|
|
|
# Prevents unauthorized assignments
|
|
|
|
|
attr_protected :login, :admin, :password, :password_confirmation, :hashed_password
|
|
|
|
|
# attr_protected :login, :admin, :password, :password_confirmation, :hashed_password
|
|
|
|
|
|
|
|
|
|
LOGIN_LENGTH_LIMIT = 30
|
|
|
|
|
MAIL_LENGTH_LIMIT = 60
|
|
|
|
|