Using flask-security, I want my flow to be similar to as follows:
- admin creates user
- admin sends user notification email they've been created
- user uses link in notification email to set password
I tried using the forgot_password view from the admin account for step 2, but https://github.com/jwag956/flask-security/blob/743be9c979b558b4ecfb177dc8117c0bf55e38ed/flask_security/views.py#L464 requires anonymous user and therefore redirects.
I see https://stackoverflow.com/a/31228170/799921 but it's a bit vague. Is this the best solution?