removed last hard-coded references to LostCave fixing #27
parent
c3563cafc3
commit
8748d17753
|
@ -15,15 +15,15 @@ if ($statement->rowCount() > 0) {
|
|||
// IP and user agent string are used to prevent cheap session stealing
|
||||
$_SESSION['user_ip'] = $_SERVER['REMOTE_ADDR'];
|
||||
$_SESSION['user_http_user_agent'] = $_SERVER['HTTP_USER_AGENT'];
|
||||
header("Location: https://threadr.lostcave.ddnss.de/threadr/userhome/");
|
||||
header("Location: https://%DOMAIN_NAME%%CONTENT_DIR%/userhome/");
|
||||
} else {
|
||||
//password inorrect
|
||||
header("Location: https://threadr.lostcave.ddnss.de/threadr/login/?error=credentials");
|
||||
header("Location: https://%DOMAIN_NAME%%CONTENT_DIR%/login/?error=credentials");
|
||||
die();
|
||||
}
|
||||
} else {
|
||||
//wrong user name
|
||||
header("Location: https://threadr.lostcave.ddnss.de/threadr/login/?error=credentials");
|
||||
header("Location: https://%DOMAIN_NAME%%CONTENT_DIR%/login/?error=credentials");
|
||||
die();
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue