No need to reserve .app suffix

This commit is contained in:
Girish Ramakrishnan
2018-12-12 15:07:49 -08:00
parent c2e40acb2c
commit 36f8ce453f

View File

@@ -110,9 +110,6 @@ function validateName(name) {
// also need to consider valid LDAP characters here (e.g '+' is reserved)
if (/[^a-zA-Z0-9.-]/.test(name)) return new MailError(MailError.BAD_FIELD, 'mailbox name can only contain alphanumerals and dot');
// app emails are sent using the .app suffix
if (name.indexOf('.app') !== -1) return new MailError(MailError.BAD_FIELD, 'mailbox name pattern is reserved for apps');
return null;
}