temporary signout fix, small aesthetics

This commit is contained in:
metacryst
2026-01-12 14:27:19 -06:00
parent 419c8b1151
commit 63304bd281
6 changed files with 13 additions and 5 deletions

View File

@@ -33,13 +33,13 @@ class Server {
router.get('/signout', this.auth.logout)
/* Site */
router.post('/signup', this.verifyToken, this.newUserSubmission)
router.post('/signup', this.verifySignupToken, this.newUserSubmission)
router.get('/db/images/*', this.getUserImage)
router.get('/*', this.get)
return router
}
verifyToken = (req, res, next) => {
verifySignupToken = (req, res, next) => {
const { token } = req.query;
if (!token) {
return res.status(400).json({ error: 'Token is required' });