Register/Login implementation

This commit is contained in:
Florian Sylvain committed 2023-01-26 20:57:12 +01:00
1 parent 55f42008f6
commit 84d95d6f12
6 files changed
+765 -19

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
export function getJwtSecret(): string {
if (process.env["JWT_SECRET"] == undefined) {
console.error("WARNING! JWT secret is not set.")
process.exit()
}
return process.env["JWT_SECRET"]
}