You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By this (title of issue), password of user first hashes (By filter of Model_User (Auth::instance()->hash()), and after them it checks for some rules from rules() method. And, so, min_length, for example, doesn't works.
The text was updated successfully, but these errors were encountered:
Rules should be checked just before inserting data to database, because:
For example: What if string will be longer then your database column expect? - Error.
So, I think that you have check password length before putting into model. You should validate password in controller.
Summary: Everythink works good but just not like author expected. This issue should be marked as closed.
By this (title of issue), password of user first hashes (By filter of Model_User (Auth::instance()->hash()), and after them it checks for some rules from rules() method. And, so, min_length, for example, doesn't works.
The text was updated successfully, but these errors were encountered: