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
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
}
// 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
}
})