This commit is contained in:
2025-03-13 20:43:27 -04:00
8 changed files with 53 additions and 122 deletions

View File

@@ -64,6 +64,13 @@ const QRSalt ="!SaltyMagic5392370662";
// + Deactivate individual magic links (Admin)
// + Get it working again online
// Make all HTML look nice
// If you only have a magic link, supress "Change Password"
// Once a ticket is used, disallow transfer (oneticket)
// Once a ticket is used, disallow transfer (manytickets)
// Why does the live version redirect back to localhost?
// Make sure open camping tickets actually send email
// Don't hardcode MainURL and PORT
// Limit number of Open Camping tickets
// Maybe:
// Deactivate individual magic links (User)
// Option to "Email me my QR Code"
@@ -762,6 +769,7 @@ app.post('/buy',requireLogin,(req,res) => {
app.post('/charge', requireLogin, async (req, res) => {
const payforwhat=req.body.payforwhat;
if (!check_payforwhat(payforwhat,req)) return res.json({ error: 'Invalid PayForWhat' });