mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-25 06:36:00 +00:00
Update signup.js
This commit is contained in:
@@ -190,7 +190,7 @@ module.exports = eggspress(['/signup'], {
|
||||
const clean_email = svc_cleanEmail.clean(req.body.email);
|
||||
|
||||
if (clean_email !== '' && !req.body.is_temp && ! await svc_cleanEmail.validate(clean_email) ) {
|
||||
return res.status(400).send('This email is not allowed.');
|
||||
return res.status(400).send('Failed to create an account. Please try again.');
|
||||
}
|
||||
|
||||
// duplicate username check
|
||||
|
||||
Reference in New Issue
Block a user