auth : url / is considered like a null url
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2989 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2
auth.php
2
auth.php
@@ -78,6 +78,8 @@ class auth
|
|||||||
$res .= "<h1>".$this->appName."</h1>\n";
|
$res .= "<h1>".$this->appName."</h1>\n";
|
||||||
$res .= " <form class='form-signin' role='form' method='post' ";
|
$res .= " <form class='form-signin' role='form' method='post' ";
|
||||||
$res .= "action='";
|
$res .= "action='";
|
||||||
|
if ($url === "/")
|
||||||
|
$url = "";
|
||||||
if ($url === "")
|
if ($url === "")
|
||||||
$res .= "#";
|
$res .= "#";
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user