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 0fec07d157
commit f6256bfbd5
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
}
})