mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-12-05 15:29:58 +01:00
@@ -47,8 +47,9 @@ class LoginRouter
|
||||
];
|
||||
}
|
||||
|
||||
$httpMethod = $request->getMethod();
|
||||
$template = $this->taskTemplates[$task] ?? $adminInfo['view'];
|
||||
$httpMethod = $request->getMethod() ?? '';
|
||||
$template = $this->taskTemplates[$task ?? ''] ?? $adminInfo['view'];
|
||||
|
||||
$params = [];
|
||||
|
||||
switch ($template) {
|
||||
|
||||
Reference in New Issue
Block a user