This commit is contained in:
seb
2026-07-19 23:42:28 +02:00
parent 92dc32bf12
commit 6db7d4d75c

View File

@@ -45,6 +45,7 @@ export function register(app, basePath = '') {
const allowed = db.getAllowedEmail(email);
if (!allowed) {
console.warn(`Login rejected: email not authorized (${email})`);
return res.status(403).json({ error: 'Email is not authorized' });
}