Recently, flask-security had been breaking due to an upgrade to Flask-Login 0.3. the problem lies from a method definition to a property definition of is_active() and is_authenticated() to is_active and is_authenticated respectively. This change is breaking my Flask app for registering, logging in.
On this project url Correct Flask-Security code I need this version because if you look at the decorators.py
file the is_authenticated()
method that previously broke is correctly changed to is_authenticated.
However, whenever I invodepip install flask-security
I get a version that has the incorrect code. The version in my site-packages directory specifies 1.7.4 which should be the correct version. So why does this break.
I resolved this with easy_install flask-security
but I'm confused as why pip install didn't work. Does anyone else have this problem?