Chnage site configuration name to avoid conflict with existing configration
Changed `THIRD_PARTY_AUTH_HINT` to `THIRD_PARTY_AUTH_ONLY_HINT` because there is an existing configuration with same name.
This commit is contained in:
@@ -301,7 +301,7 @@ def _check_user_auth_flow(site, user):
|
||||
link_start=HTML("<a href='{tpa_provider_link}'>").format(
|
||||
tpa_provider_link='{dashboard_url}?tpa_hint={tpa_hint}'.format(
|
||||
dashboard_url=reverse('dashboard'),
|
||||
tpa_hint=site.configuration.get_value('THIRD_PARTY_AUTH_HINT'),
|
||||
tpa_hint=site.configuration.get_value('THIRD_PARTY_AUTH_ONLY_HINT'),
|
||||
)
|
||||
),
|
||||
provider=site.configuration.get_value('THIRD_PARTY_AUTH_ONLY_PROVIDER'),
|
||||
|
||||
@@ -638,7 +638,7 @@ class LoginTest(SiteMixin, CacheIsolationTestCase):
|
||||
'SITE_NAME': allowed_domain,
|
||||
'THIRD_PARTY_AUTH_ONLY_DOMAIN': allowed_domain,
|
||||
'THIRD_PARTY_AUTH_ONLY_PROVIDER': provider,
|
||||
'THIRD_PARTY_AUTH_HINT': provider_tpa_hint,
|
||||
'THIRD_PARTY_AUTH_ONLY_HINT': provider_tpa_hint,
|
||||
}
|
||||
|
||||
with ENABLE_LOGIN_USING_THIRDPARTY_AUTH_ONLY.override(switch_enabled):
|
||||
|
||||
Reference in New Issue
Block a user