changed passwords

This commit is contained in:
eggman20339 2025-02-20 16:02:09 -05:00
parent 766e3ceb6c
commit 73ea9247a6

View File

@ -157,7 +157,7 @@ app.post('/use-bubble', (req, res) => {
// POST /check-password => verify "mySecretPassword"
app.post('/check-password', (req, res) => {
const { password } = req.body;
if (password !== 'mySecretPassword') {
if (password !== 'ParentsOnly25') {
return res.status(403).json({ error: 'Incorrect password' });
}
res.json({ success: true });
@ -166,7 +166,7 @@ app.post('/check-password', (req, res) => {
// POST /add-points => append new false items
app.post('/add-points', (req, res) => {
const { password, category, amount } = req.body;
if (password !== 'mySecretPassword') {
if (password !== 'ParentsOnly25') {
return res.status(403).json({ error: 'Wrong password' });
}
if (!['solo', 'together'].includes(category)) {
@ -300,7 +300,7 @@ app.post('/unsubscribe',(req,res)=>{
------------------------------------------------------------------ */
app.post('/admin/login',(req,res)=>{
const { password }=req.body;
if(password!=='adminSecret'){
if(password!=='AdminSecret'){
return res.status(403).json({ error:'Wrong admin password' });
}
res.json({ success:true });