mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 01:37:13 +00:00
Reworked authentication related menu item handling (fixes #1462)
This commit is contained in:
@@ -11,6 +11,8 @@ class LdapAuthMiddleware extends AuthMiddleware
|
||||
{
|
||||
public function authenticate(Request $request)
|
||||
{
|
||||
define('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION', true);
|
||||
|
||||
// TODO: Reuse DefaultAuthMiddleware->authenticate somehow
|
||||
|
||||
// First try to authenticate by API key
|
||||
|
Reference in New Issue
Block a user