keratin / authn

Prototype version of AuthN service. See: keratin/authn-server
https://keratin.tech
GNU Lesser General Public License v3.0
34 stars 0 forks source link

logged-in password change #34

Closed cainlevy closed 7 years ago

cainlevy commented 7 years ago

If a device has an active session with AuthN, we can use that to identify the account and authorize a password change. This is simpler than password resets.

Note that if a reset token is offered, it must be preferred. This is for scenarios where someone opens a reset email on a device that is actually logged in to a family member's account (yes, it happens).

Also note that once the password is changed, the user will be logged in with that account.

There's plenty of duplication between the new PasswordChanger and the rebranded PasswordResetter. I haven't decided how to resolve it.