trefle-api
trefle-api copied to clipboard
Add ability to reset token
Problem
As far as I can tell, there is no current implementation of the regenerate_token method on the user model. This means that there is no way for a user to reset their token.
Solution It would be good to have a 'reset token' button on the User Account page, so that a user can reset their token if it is compromised in any way.