tha07
6 months ago

Prompt to change password if default password

Posted 6 months ago by tha07

I'm creating a function to check the authenticated users password with the app's default password and prompt user to change password.

I think the best way is to do it via a middleware. But was not able to achieve it.

How can I check it from a middleware and redirect user to a specific route to force to enter a password

Please sign in or create an account to participate in this conversation.