🍀 Trefle is a botanical JSON REST API for plants species, allowing you to search and query over all the registered species, and build the next gardening apps and farming robots.
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.
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.