Let handling slash replacement automatically

This commit is contained in:
Flavio Copes
2015-11-17 11:57:46 +01:00
parent d2763660fe
commit 37f98cc4f3

View File

@@ -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;
}