1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

prevent SSO configured tenants being redirected to account portal

This commit is contained in:
Martin McKeaveney 2021-09-28 17:54:54 +01:00
parent 4d274f79b3
commit e7d95f52f9

View file

@ -12,7 +12,7 @@
} }
// redirect to account portal for authentication in the cloud // redirect to account portal for authentication in the cloud
if (!$auth.user && $admin.cloud && $admin.accountPortalUrl) { if (!$auth.user && $admin.cloud && $admin.accountPortalUrl && !$admin?.checklist?.sso?.checked) {
window.location.href = $admin.accountPortalUrl window.location.href = $admin.accountPortalUrl
} }
}) })