mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 08:40:21 -07:00
Merge pull request #20 from StapleButter/master
merge pull request #20: fix login.php messages
This commit is contained in:
commit
ac3d8590d7
@ -50,7 +50,7 @@
|
||||
$msg = "Couldn't login. Either you didn't enter an existing username, or you haven't entered the right password for the username.";
|
||||
}
|
||||
}
|
||||
$txt.="$tccell1>$msg<br>".redirect('index.php','return to the board',0);
|
||||
$txt.="$tccell1>$msg<br>".redirect('index.php','the board',0);
|
||||
}
|
||||
elseif ($_POST['action']=='logout') {
|
||||
setcookie('loguserid','', time()-3600, "/", $_SERVER['SERVER_NAME'], false, true);
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
// May as well unset this as well
|
||||
setcookie('logpassword','', time()-3600, "/", $_SERVER['SERVER_NAME'], false, true);
|
||||
$txt.="$tccell1> You are now logged out.<br>".redirect('index.php','return to the board',0);
|
||||
$txt.="$tccell1> You are now logged out.<br>".redirect('index.php','the board',0);
|
||||
}
|
||||
elseif (!$_POST['action']) {
|
||||
$ipaddr = explode('.', $_SERVER['REMOTE_ADDR']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user