1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-29 22:41:11 +03:00

Add Alert() about illegal character in username

This commit is contained in:
Fredrik Boström
2023-09-26 15:27:24 +02:00
parent 7b8532b2b0
commit ea121c721b
37 changed files with 77 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class MailboxHandler extends PFAHandler
# editing? form list
'username' => pacol($this->new, 1, 1, 'mail', 'pEdit_mailbox_username' , '' , '' ),
'local_part' => pacol($this->new, 0, 0, 'text', 'pEdit_mailbox_username' , '' , '',
/*options*/ array('legal_chars' => Config::read('username_legal_chars'))
/*options*/ array('legal_chars' => Config::read('username_legal_chars'), 'legal_char_warning' => Config::lang('pLegal_char_warning'))
),
'domain' => pacol($this->new, 0, 1, 'enum', '' , '' , '',
/*options*/ $this->allowed_domains ),