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:
Mateusz Mandera 2020-02-22 17:37:17 +01:00 committed by Tim Abbott
parent f2903e9c70
commit 2343f80d72
1 changed files with 0 additions and 1 deletions

View File

@ -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: