Add Cache-Control: no-store to ALTCHA challenge endpoint

This commit is contained in:
chris 2026-06-12 09:20:17 -04:00
parent c503d6dd75
commit 5e6b201336

View File

@ -102,6 +102,7 @@ apiRouter.post('/update-status', requireAuth, (req, res) => {
}); });
apiRouter.get('/altcha', async (req, res) => { apiRouter.get('/altcha', async (req, res) => {
res.setHeader('Cache-Control', 'no-store');
try { try {
const challenge = await createChallenge({ const challenge = await createChallenge({
algorithm: 'SHA-256', algorithm: 'SHA-256',