Add personal email to auth whitelist for local branch

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
0xcathiefish
2026-02-14 15:26:48 +00:00
parent 9812bc7635
commit 748e8bc6d2
+1 -1
View File
@@ -127,7 +127,7 @@
const userData = parseJwt(credential); const userData = parseJwt(credential);
// Email whitelist verification // Email whitelist verification
const allowedEmails = ['your-email@gmail.com']; const allowedEmails = ['xiannvweideta@gmail.com'];
if (!allowedEmails.includes(userData.email)) { if (!allowedEmails.includes(userData.email)) {
document.getElementById('error-msg').textContent = 'Access denied: unauthorized email.'; document.getElementById('error-msg').textContent = 'Access denied: unauthorized email.';
document.getElementById('error-msg').style.display = 'block'; document.getElementById('error-msg').style.display = 'block';