Upgraded to most recent Flask-Principal version, since an attribute name was changed there which OctoPrint uses
parent
d7d8bba2e9
commit
b9d467d23f
|
@ -610,7 +610,7 @@ def logout():
|
||||||
|
|
||||||
@identity_loaded.connect_via(app)
|
@identity_loaded.connect_via(app)
|
||||||
def on_identity_loaded(sender, identity):
|
def on_identity_loaded(sender, identity):
|
||||||
user = load_user(identity.name)
|
user = load_user(identity.id)
|
||||||
if user is None:
|
if user is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,4 @@ tornado>=2.4.1
|
||||||
tornadio2>=0.0.4
|
tornadio2>=0.0.4
|
||||||
PyYAML>=3.10
|
PyYAML>=3.10
|
||||||
Flask-Login>=0.1.3
|
Flask-Login>=0.1.3
|
||||||
Flask-Principal>=0.3.4
|
Flask-Principal>=0.3.5
|
Loading…
Reference in New Issue