FIx bad variable name

This commit is contained in:
Knah Tsaeb 2024-07-02 15:57:57 +02:00
parent 33d4ebd443
commit 14eea08c82

View file

@ -25,7 +25,7 @@ if (isset($_GET['logout'])) {
exit();
}
if ($config['privatvisibility'] === 'private') {
if ($config['visibility'] === 'private') {
if (!$KTH->canByPassAuth($defConfig['noAuth'])) {
if (!Login::isLogged()) {
if (file_exists('../data/users.yaml')) {