Closed jacquesfize closed 1 year ago
Flask login redirects automatically to login page when user not authorized. This change cause the password change mecanism of Geonature to break.
Fix with a custom error handler on the LoginManager instantiated by flask_login
J'ai fait la modification pour qu'il ne s'appuie plus sur une liste de routes mais sur le Content-Type.
Content-Type
Flask login redirects automatically to login page when user not authorized. This change cause the password change mecanism of Geonature to break.
Fix with a custom error handler on the LoginManager instantiated by flask_login