Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit 1f230b2d13 - Show all commits

View File

@ -87,8 +87,8 @@ def logout():
flask.session.pop(cas_token_session_key, None) # added by EV flask.session.pop(cas_token_session_key, None) # added by EV
flask.session.pop("CAS_EDT_ID", None) # added by EV flask.session.pop("CAS_EDT_ID", None) # added by EV
cas_after_logout = current_app.config["CAS_AFTER_LOGOUT"] cas_after_logout = current_app.config.get("CAS_AFTER_LOGOUT")
if cas_after_logout is not None: if cas_after_logout:
# If config starts with http, use it as dest URL. # If config starts with http, use it as dest URL.
# Else, build Flask URL # Else, build Flask URL
dest_url = ( dest_url = (