Remove requirement of auth from email confirm

This commit is contained in:
KernelDeimos 2024-04-14 22:23:42 -04:00
parent 231878266c
commit dca7304be9

View File

@ -78,8 +78,6 @@ const CHANGE_EMAIL_START = eggspress('/change_email/start', {
});
const CHANGE_EMAIL_CONFIRM = eggspress('/change_email/confirm', {
auth: true,
verified: true,
allowedMethods: ['GET'],
}, async (req, res, next) => {
const user = req.user;