authentication : manage correctely the routes (no not add a slash not needed)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3013 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -319,13 +319,13 @@ class authentication
|
||||
$authObj->logout ();
|
||||
});
|
||||
|
||||
$this->route->get ("authentication({url})?", function ($url) use ($authObj)
|
||||
$this->route->get ("authentication(/{url})?", function ($url) use ($authObj)
|
||||
{
|
||||
$authObj->pageHTML ($url);
|
||||
exit;
|
||||
});
|
||||
|
||||
$this->route->post ("authentication({url})?", function ($url) use ($authObj)
|
||||
$this->route->post ("authentication(/{url})?", function ($url) use ($authObj)
|
||||
{
|
||||
$authObj->verifAuthLoginPage ($url);
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user