Misago
Misago copied to clipboard
Issues with credentials changing
Some issues with credentials changing that could use fixes:
- Confirmation link in e-mail is "Save changes"
- Error page when token is invalid focuses on "link belongs to other user", it should explain that links are valid only for current session
- Part of token's seed is users last visit date, see how often that gets updated and consider removing it for separately stored expiration time. Maybe store token as JWT and e-mail user a signature of it?
It's also worth it to see what phpBB3, Discourse and Invision Community are doing here.
Django auth has a token generation utility that encodes user's id, email, password, last login and a timestamp. This is same data that Misago uses.
But maybe the issue is that in case of forgotten password reset token, the user can't change their last login field by mistake, while for credentials they do?
I am also unable to reproduce this issue on Misago forums (its working there) nor on reporter's site (because it's not sending emails).