chore(ext_login): Remove unused comments

Signed-off-by: -LAN- <laipz8200@outlook.com>
pull/19980/head
-LAN- 1 year ago
parent c3ac1f90f4
commit 62122b2eb7
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

@ -21,7 +21,6 @@ login_manager = flask_login.LoginManager()
def load_user_from_request(request_from_flask_login): def load_user_from_request(request_from_flask_login):
"""Load user based on the request.""" """Load user based on the request."""
auth_header = request.headers.get("Authorization", "") auth_header = request.headers.get("Authorization", "")
# Check if the user_id contains a dot, indicating the old format
if not auth_header: if not auth_header:
auth_token = request.args.get("_token") auth_token = request.args.get("_token")
if not auth_token: if not auth_token:

Loading…
Cancel
Save