bernd commited on 2008-09-17 21:15:01
Zeige 1 geänderte Dateien mit 0 Einfügungen und 8 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1147 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -13,16 +13,8 @@ $title = "Passwort ändern"; |
13 | 13 |
|
14 | 14 |
|
15 | 15 |
if ($_POST['password1'] != '') |
16 |
-{ |
|
17 |
- $accname = ''; |
|
18 |
- if ($role & ROLE_VMAIL_ACCOUNT) |
|
19 |
- { |
|
20 |
- $accname = $_SESSION['accountname']; |
|
21 |
- } |
|
22 |
- elseif ($role & ROLE_MAILACCOUNT) |
|
23 | 16 |
{ |
24 | 17 |
$accname = $_SESSION['mailaccount']; |
25 |
- } |
|
26 | 18 |
check_form_token('email_chpass'); |
27 | 19 |
$result = find_role($accname, $_POST['old_password']); |
28 | 20 |
|
29 | 21 |