flask-principal
flask-principal copied to clipboard
Errors in the examples provided by the docs induced by latest changes
In the "Authentication providers" example identity.name should be replaced by identity.id
In the "User Information providers" example the hasattr(current_user, 'id') test doesn't exclude anonymous users anymore. Because all users have the id attribute now.
You should make a bug report for this.
I thought issues were bug reports ? Where should I post this ?
Errr excuse me, of course I mean pull request.