Added check for ascii characters in password (if enabled in system config)
| | |
| | | |
| | | */ |
| | | global $app; |
| | | $app->uses('getconf'); |
| | | $global_config = $app->getconf->get_global_config(); |
| | | |
| | | $form["title"] = "Mailbox"; |
| | | $form["description"] = ""; |
| | |
| | | ) |
| | | ); |
| | | |
| | | if($global_config['mail']['mail_password_onlyascii'] == 'y') { |
| | | $form['tabs']['mailuser']['fields']['password']['validators'] = array( 0 => array( 'type' => 'ISASCII', |
| | | 'errmsg' => 'email_error_isascii') |
| | | ); |
| | | } |
| | | |
| | | $form["tabs"]['autoresponder'] = array ( |
| | | 'title' => "Autoresponder", |
| | | 'width' => 100, |
| | |
| | | $wb['repeat_password_txt'] = 'Passwort wiederholen'; |
| | | $wb['password_mismatch_txt'] = 'Die Passwörter stimmen nicht überein.'; |
| | | $wb['password_match_txt'] = 'Die Passwörter stimmen überein.'; |
| | | $wb['email_error_isascii'] = 'Bitte verwenden Sie keine Umlaute im Passwort. Dies kann zu Problemen mit Ihrem E-Mail-Programm führen.'; |
| | | ?> |
| | |
| | | $wb['repeat_password_txt'] = 'Repeat Password'; |
| | | $wb['password_mismatch_txt'] = 'The passwords do not match.'; |
| | | $wb['password_match_txt'] = 'The passwords do match.'; |
| | | $wb['email_error_isascii'] = 'Please do not use special unicode characters for your password. This could lead to problems with your mail client.'; |
| | | ?> |