Revision 1473
Added by Luisehahne over 14 years ago
| password.php | ||
|---|---|---|
| 26 | 26 |
|
| 27 | 27 |
// Create a javascript back link |
| 28 | 28 |
$js_back = WB_URL.'/account/preferences.php'; |
| 29 |
|
|
| 29 |
/* |
|
| 30 | 30 |
if (!$wb->checkFTAN()) |
| 31 | 31 |
{
|
| 32 | 32 |
$wb->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], $js_back, false); |
| 33 | 33 |
exit(); |
| 34 | 34 |
} |
| 35 |
|
|
| 35 |
*/ |
|
| 36 | 36 |
// Get existing password |
| 37 | 37 |
// $database = new database(); |
| 38 | 38 |
$query = "SELECT user_id FROM ".TABLE_PREFIX."users WHERE user_id = '".$wb->get_user_id()."' AND password = '".md5($current_password)."'"; |
| ... | ... | |
| 62 | 62 |
} else {
|
| 63 | 63 |
$wb->print_success($MESSAGE['PREFERENCES']['PASSWORD_CHANGED']); |
| 64 | 64 |
} |
| 65 |
|
|
| 66 |
?> |
|
Also available in: Unified diff
found more backlinks to fix
remove not working ftan in frontend
fixed redirect in login procedure (Tks to mr-fan)
update droplet LoginBox, additional parameter $redirect
remove double config call in media (Tks to Testör)