Force password reset on first login
Hello. I need to be able to create users through admin panel and force password reset on the user first login. I've already implemented email verification so I would need to request the password reset directly after verifying the email. What would be the best way to force password reset?
I'm not sure if I should add a flag on the DB for the user table perhaps. Any help and comment is appreciated. Thanks.
I'm not sure if I should add a flag on the DB for the user table perhaps. Any help and comment is appreciated. Thanks.