导入问题

dev_aliyun
daiao 5 years ago
parent 271e1c3315
commit 081298a556

@ -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

Loading…
Cancel
Save