Merge branch 'devel' into repetier
This commit is contained in:
commit
245d9651b6
1 changed files with 1 additions and 1 deletions
|
|
@ -604,7 +604,7 @@ def login():
|
|||
@login_required
|
||||
def logout():
|
||||
# Remove session keys set by Flask-Principal
|
||||
for key in ('identity.name', 'identity.auth_type'):
|
||||
for key in ('identity.id', 'identity.auth_type'):
|
||||
del session[key]
|
||||
identity_changed.send(current_app._get_current_object(), identity=AnonymousIdentity())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue