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 have a project that has a some specific requirements and wanted to make sure tensei supports this or can be extended with hooks.
When user registers or resets password enforce custom password strength requirements. Is there any way to override the built in password validation? If not I think I can use auth().beforePasswordReset and auth().beforeRegister hooks to customize this behavior.
Password expiration after X days. I think for this I can use the auth().beforeLogin hook but how do I tie the user to a change password date in the database? Would I need to create a different table with relationship to users or can I add additional fields to the user table?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a project that has a some specific requirements and wanted to make sure tensei supports this or can be extended with hooks.
When user registers or resets password enforce custom password strength requirements. Is there any way to override the built in password validation? If not I think I can use auth().beforePasswordReset and auth().beforeRegister hooks to customize this behavior.
Password expiration after X days. I think for this I can use the auth().beforeLogin hook but how do I tie the user to a change password date in the database? Would I need to create a different table with relationship to users or can I add additional fields to the user table?
Beta Was this translation helpful? Give feedback.
All reactions