less create workspace form fields in cloud (#1265)

* sync

* less signup form fields in cloud

* min length
This commit is contained in:
Philip Okugbe
2025-06-17 23:56:07 +01:00
committed by GitHub
parent 44445fbf46
commit 5f62448894
9 changed files with 49 additions and 29 deletions
+6
View File
@@ -16,6 +16,12 @@ export async function comparePasswordHash(
return bcrypt.compare(plainPassword, passwordHash);
}
export function generateRandomSuffixNumbers(length: number) {
return Math.random()
.toFixed(length)
.substring(2, 2 + length);
}
export type RedisConfig = {
host: string;
port: number;