Fixed syntax error
This commit is contained in:
@ -248,7 +248,7 @@ function send_captcha() {
|
|||||||
|
|
||||||
function check_login(){
|
function check_login(){
|
||||||
global $db;
|
global $db;
|
||||||
if(empty($_SESSION['csrf_token']){
|
if(empty($_SESSION['csrf_token'])){
|
||||||
$_SESSION['csrf_token']=sha1(uniqid());
|
$_SESSION['csrf_token']=sha1(uniqid());
|
||||||
}
|
}
|
||||||
if(empty($_SESSION['hosting_username'])){
|
if(empty($_SESSION['hosting_username'])){
|
||||||
|
Reference in New Issue
Block a user