|
|
@ -712,10 +712,8 @@ class Handler_Public extends Handler {
|
|
|
|
user_error("Failed login attempt for $login from {$_SERVER['REMOTE_ADDR']}", E_USER_WARNING);
|
|
|
|
user_error("Failed login attempt for $login from {$_SERVER['REMOTE_ADDR']}", E_USER_WARNING);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$return = clean($_REQUEST['return']);
|
|
|
|
if (clean($_REQUEST['return'])) {
|
|
|
|
|
|
|
|
header("Location: " . clean($_REQUEST['return']));
|
|
|
|
if ($return && !is_absolute_url($return)) {
|
|
|
|
|
|
|
|
header("Location: " . $return);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
header("Location: " . get_self_url_prefix());
|
|
|
|
header("Location: " . get_self_url_prefix());
|
|
|
|
}
|
|
|
|
}
|
|
|
|