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
I'll look into the validation issue, but there's a simple fix for the second part you brought up: use a different field name. For example, in my auth stuff, I've got a field in the database called password_hash to be clear about what's being saved. Then in the Entity there is a setPassword() method which does the same as yours. However, it's setting the value of the password_hash column and that setter is only called if the password has been changed.
If you save the password field (using your setUsrPassword method) then, yes, the hash will be different every time. That's how password_hash works.
In entity:
in model:
I think it is because custom set is called now before validation... before last changes it was called before save action.
The text was updated successfully, but these errors were encountered: