mirror of
https://github.com/DanWin/hosting.git
synced 2025-06-03 02:57:21 +02:00
Fixed syntax error
This commit is contained in:
parent
4aa51f4371
commit
22c687b0e0
1 changed files with 1 additions and 1 deletions
|
@ -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'])){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue