Bernd Wurst commited on 2020-09-09 06:17:53
Zeige 1 geänderte Dateien mit 3 Einfügungen und 5 Löschungen.
| ... | ... |
@@ -45,15 +45,13 @@ if (isset($_POST['password1']) && $_POST['password1'] != '') {
|
| 45 | 45 |
if ($role & ROLE_VMAIL_ACCOUNT) {
|
| 46 | 46 |
DEBUG("Ändere VMail-Passwort");
|
| 47 | 47 |
change_vmail_password($accname, $_POST['password1']); |
| 48 |
+ success_msg('Ihr Passwort wurde geändert!');
|
|
| 48 | 49 |
} elseif ($role & ROLE_MAILACCOUNT) {
|
| 49 | 50 |
DEBUG("Ändere IMAP-Passwort");
|
| 50 | 51 |
change_mailaccount(get_mailaccount_id($accname), array('password' => $_POST['password1']));
|
| 52 |
+ success_msg('Ihr Passwort wurde geändert!');
|
|
| 51 | 53 |
} |
| 52 |
- if (! $debugmode) {
|
|
| 53 |
- header('Location: /');
|
|
| 54 |
- } else {
|
|
| 55 |
- output('');
|
|
| 56 |
- } |
|
| 54 |
+ redirect('/');
|
|
| 57 | 55 |
} |
| 58 | 56 |
} |
| 59 | 57 |
|
| 60 | 58 |