Check if login properly
This commit is contained in:
parent
78bf8554b8
commit
4b3a7a2f38
@ -80,7 +80,7 @@ final class UserController
|
||||
|
||||
session_start();
|
||||
|
||||
if(!isset($_SESSION)){
|
||||
if(!isset($_SESSION) || !isset($_SESSION["USERNAME"])){
|
||||
echo "301 NOT LOGIN";
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user