Skip to content

Commit

Permalink
Fixes additional multi-org auth issue (parcelvoy#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushchris authored Oct 14, 2024
1 parent 4602830 commit 8387add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/platform/src/auth/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const validateAuth = async (ctx: Context): Promise<void> => {
const loadProvider = async (ctx: Context): Promise<AuthProvider> => {
const driver = ctx.params.driver as AuthProviderName
const organization = ctx.state.organization
if (organization) {
if (organization && App.main.env.config.multiOrg) {
return initProvider(organization.auth)
}

Expand Down

0 comments on commit 8387add

Please sign in to comment.