You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
This release has broken some of the decorators (all I have encountered, but not necessarily exclusive to decorators).
File "/usr/local/lib/python3.6/site-packages/flask_security/decorators.py", line 61, in _check_token
user = _security.login_manager.request_callback(request)
AttributeError: 'LoginManager' object has no attribute 'request_callback'
Flask-Login has released v0.5.0 on 2020-02-09.
This release has broken some of the decorators (all I have encountered, but not necessarily exclusive to decorators).
A more specific version check might be needed:
https://github.com/mattupstate/flask-security/blob/develop/setup.py#L50
For those having the same issue add a fixed dependency to
Flask-Login
<= 0.5.0e.g.:
(0.4.1 was the greatest version < 0.5.0 at the time of writing)
I will check back with more details (and further testing) once I find time and perhaps submit a PR.
The text was updated successfully, but these errors were encountered: