Skip to content

Commit

Permalink
Pass config:autologin=1 to target url
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Jul 11, 2024
1 parent fdb9efd commit 251c51a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def login():
resp.headers[tenant_header_name] = tenant_header_value
set_access_cookies(resp, access_token)
target_query.update({'config:tenant': config.get("tenant_header_name", "") + "=" + config.get("tenant_header_value", "")})
target_query.update({'config:autologin': 1})
else:
target_query.update({'mysoch:unknownidentity': 1})

Expand Down

0 comments on commit 251c51a

Please sign in to comment.