summary refs log tree commit diff
path: root/src/api/routes/auth/register.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/auth/register.ts')
-rw-r--r--src/api/routes/auth/register.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api/routes/auth/register.ts b/src/api/routes/auth/register.ts
index aa09cf24..430c9532 100644
--- a/src/api/routes/auth/register.ts
+++ b/src/api/routes/auth/register.ts
@@ -26,14 +26,14 @@ import {
 	adjustEmail,
 	RegisterSchema,
 	ValidRegistrationToken,
-} from "@fosscord/util";
+} from "@spacebar/util";
 import {
 	route,
 	getIpAdress,
 	IPAnalysis,
 	isProxy,
 	verifyCaptcha,
-} from "@fosscord/api";
+} from "@spacebar/api";
 import bcrypt from "bcrypt";
 import { HTTPError } from "lambert-server";
 import { MoreThan } from "typeorm";
@@ -52,7 +52,7 @@ router.post(
 		// They're a one time use token that bypasses registration limits ( rates, disabled reg, etc )
 		let regTokenUsed = false;
 		if (req.get("Referrer") && req.get("Referrer")?.includes("token=")) {
-			// eg theyre on https://staging.fosscord.com/register?token=whatever
+			// eg theyre on https://staging.spacebar.chat/register?token=whatever
 			const token = req.get("Referrer")?.split("token=")[1].split("&")[0];
 			if (token) {
 				const regToken = await ValidRegistrationToken.findOneOrFail({