mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 11:16:27 +02:00
Let handling slash replacement automatically
This commit is contained in:
@@ -95,7 +95,6 @@ class AdminController
|
||||
} else {
|
||||
if ($this->task == 'logout') {
|
||||
$nonce = $this->grav['uri']->param('logout-nonce');
|
||||
$nonce = str_replace('SLASH', '/', $nonce);
|
||||
if (!isset($nonce) || !Utils::verifyNonce($nonce, 'logout-form')) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user