From 19b5bc8348a605a5158f4e0744d1121f2ac7b44f Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Wed, 25 Mar 2026 19:50:51 +0000 Subject: [PATCH] refactor: update comments for clarity in signup route --- App/FeatureSet/Identity/API/Authentication.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/App/FeatureSet/Identity/API/Authentication.ts b/App/FeatureSet/Identity/API/Authentication.ts index 6ff587c01d..e9bfd57436 100644 --- a/App/FeatureSet/Identity/API/Authentication.ts +++ b/App/FeatureSet/Identity/API/Authentication.ts @@ -124,8 +124,10 @@ router.post( ): Promise => { try { if (await DatabaseConfig.shouldDisableSignup()) { - // Check if this user has been invited to a project. - // If so, allow them to sign up even if signup is disabled. + /* + * Check if this user has been invited to a project. + * If so, allow them to sign up even if signup is disabled. + */ const data: JSONObject = req.body["data"] as JSONObject; const emailForInviteCheck: string | undefined = data?.["email"] as | string