- Changed the controller components/SearchBar.php constructor to _not_ start the authentication when the AuthLib is loaded and to check if the user is logged

- Added constant ERROR_NOT_AUTH to libraries/SearchBarLib.php
This commit is contained in:
Paolo
2023-07-18 16:01:03 +02:00
parent f4c8f00c8f
commit 6a7903ef05
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -30,6 +30,7 @@ class SearchBarLib
const ERROR_WRONG_SEARCHSTR = 'ERR002';
const ERROR_NO_TYPES = 'ERR003';
const ERROR_WRONG_TYPES = 'ERR004';
const ERROR_NOT_AUTH = 'ERR005';
// List of allowed types of search
const ALLOWED_TYPES = ['mitarbeiter', 'organisationunit', 'raum', 'person', 'student', 'prestudent', 'document', 'cms'];