mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01:00
Add option to restrict Page view to logged user
$logged_access = 0 -> not logged in $logged_access = 1 -> logged in
This commit is contained in:
@@ -79,7 +79,7 @@ $ignore = false;
|
||||
|
||||
/** @var boolean $logged */
|
||||
/** @var OTS_Account $account_logged */
|
||||
$logged_access = 1;
|
||||
$logged_access = 0;
|
||||
if($logged && $account_logged && $account_logged->isLoaded()) {
|
||||
$logged_access = $account_logged->getAccess();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user