We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9c4412 commit 2949e16Copy full SHA for 2949e16
src/backend/src/routers/signup.js
@@ -189,7 +189,7 @@ module.exports = eggspress(['/signup'], {
189
const svc_cleanEmail = req.services.get('clean-email');
190
const clean_email = svc_cleanEmail.clean(req.body.email);
191
192
- if (clean_email !== '' && ! await svc_cleanEmail.validate(clean_email) ) {
+ if (clean_email !== '' && !req.body.is_temp && ! await svc_cleanEmail.validate(clean_email) ) {
193
return res.status(400).send('This email is not allowed.');
194
}
195
0 commit comments