fix: Do not show actively disabled auth providers in self-hosted install (#4794)
* fix: Do not show actively disabled auth providers in self-hosted installation * self review * Refactor for easier mocking
This commit is contained in:
@@ -46,7 +46,7 @@ export function checkPendingMigrations() {
|
||||
}
|
||||
|
||||
export async function checkMigrations() {
|
||||
if (env.DEPLOYMENT === "hosted") {
|
||||
if (env.isCloudHosted()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user