Copy overhaul + qr designs
This commit is contained in:
@@ -16,7 +16,7 @@ export const AUTH_COOKIE_NAME = 'userId';
|
||||
function getSecret(): string {
|
||||
const secret = process.env.NEXTAUTH_SECRET;
|
||||
if (!secret) {
|
||||
throw new Error('NEXTAUTH_SECRET is not set — cannot sign or verify session cookies');
|
||||
throw new Error('NEXTAUTH_SECRET is not set - cannot sign or verify session cookies');
|
||||
}
|
||||
return secret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user