mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: update comments for clarity in signup route
This commit is contained in:
@@ -124,8 +124,10 @@ router.post(
|
||||
): Promise<void> => {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user