Skip to content

Commit

Permalink
fix: show user control panel only if auth source is local
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Feb 10, 2025
1 parent 87e2ee1 commit 0662639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@
];
}

if (!$faqConfig->isLdapActive()) {
if ($user->getUserAuthSource() === 'local') {
$templateVars = [
... $templateVars,
'msgUserControlDropDown' => Translation::get('headerUserControlPanel'),
Expand Down

0 comments on commit 0662639

Please sign in to comment.