From 42eaaf8de77e023f9f1a271ca5fe2a2e3dd93e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=81oboda?= Date: Wed, 25 Feb 2026 17:09:31 +0100 Subject: [PATCH] chore: linted --- lib/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config.ts b/lib/config.ts index 444d62f..892335d 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -118,10 +118,10 @@ export class AppConfig { return this.config; } - static async isSignupAllowed(sso: boolean=false): Promise { + static async isSignupAllowed(sso: boolean = false): Promise { await this.loadConfig(); - const areSignupsAllowed = (sso) ? this.config.auth.enableSingleSignOnSignUp : this.config.auth.allowSignups; + const areSignupsAllowed = sso ? this.config.auth.enableSingleSignOnSignUp : this.config.auth.allowSignups; const areThereAdmins = await UserModel.isThereAnAdmin(); return areSignupsAllowed || !areThereAdmins;