Changed language detection code, added some small features

This commit is contained in:
2023-03-12 12:38:43 +01:00
parent aabd37bd1a
commit 4266a211e0
15 changed files with 168 additions and 122 deletions

View File

@@ -156,6 +156,7 @@ $user = $sth->fetch(PDO::FETCH_OBJ);
$user->role = explode(',', $user->role);
$smarty->assign("user", $user);
// auth realms
$smarty->assign("realm_ids", ['local', 'ldap']);
$smarty->assign("realm_names", ['Local', 'LDAP']);