Initial commit
This commit is contained in:
15
src/auth/Authenticator.php
Normal file
15
src/auth/Authenticator.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace App\auth;
|
||||
|
||||
|
||||
|
||||
class Authenticator
|
||||
{
|
||||
public function isLoggedIn() :bool
|
||||
{
|
||||
return isset($_SESSION['logged_in']);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user