Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
IchthysMaranathaCopy authored Mar 13, 2024
1 parent d392d72 commit 6da2704
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/builder/src/pages/builder/auth/login.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$: company = $organisation.company || "Budibase"
$: cloud = $admin.cloud
if ($organisation.isSSOEnforced) {
if ($admin.directoidc) {
organisation
.init()
.then(() => oidc.init())
Expand All @@ -37,7 +37,7 @@
})
}
async function login() {
if (!$organisation.isSSOEnforced) {
if (!$admin.directoidc) {
form.validate()
if (Object.keys(errors).length > 0) {
console.log("errors", errors)
Expand All @@ -59,7 +59,7 @@
}
}
}
if (!$organisation.isSSOEnforced) {
if (!$admin.directoidc) {
onMount(async () => {
try {
await organisation.init()
Expand Down

0 comments on commit 6da2704

Please sign in to comment.