From 7267900a398e6bc5d0a27194589c84bef8f35e8a Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 19 Feb 2017 12:43:37 +0100 Subject: [PATCH] [Fixed] Logout urls --- public_html/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/index.php b/public_html/index.php index 83f9c48..e3aa103 100755 --- a/public_html/index.php +++ b/public_html/index.php @@ -84,7 +84,7 @@ // logout from admin $R->get('logout/?', function(){ $_SERVER['REQUEST_METHOD'] = 'POST'; - $req = new Request('authentificationDefault/admin', ['username' => ' ', 'password' => '']); + $req = new Request('authentificationDefault/admin', ['username' => '-', 'password' => '']); $res = $req->dispatch(); header('Location: /'); }); @@ -108,7 +108,7 @@ // warehouse logout $R->get('logout/?', function(){ $_SERVER['REQUEST_METHOD'] = 'POST'; - (new Request('authentificationDefault/warehouse', ['name' => ' ', 'password' => '']))->dispatch(); + (new Request('authentificationDefault/warehouse', ['name' => '---', 'password' => '']))->dispatch(); header('Location: /'); });