mirror of https://github.com/zulip/zulip.git
auth: Remove redundant get_subdomain(request) call in remote_user_sso.
subdomain = get_subdomain(request) is already called earlier in the function.
This commit is contained in:
parent
f2903e9c70
commit
2343f80d72
|
@ -361,7 +361,6 @@ def remote_user_sso(request: HttpRequest,
|
|||
# login_or_register_remote_user if appropriate.
|
||||
validate_otp_params(mobile_flow_otp, desktop_flow_otp)
|
||||
|
||||
subdomain = get_subdomain(request)
|
||||
if realm is None:
|
||||
user_profile = None
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue