authentication : if logout url is null, do not crash and redirect to authentication page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4946 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -98,7 +98,7 @@ class authentication
|
||||
unset ($_SESSION["domframework"]["authentication"]);
|
||||
if ($this->debug) echo "Redirect to authentication page";
|
||||
if ($this->debug) $this->route->debug = $this->debug;
|
||||
if ($url === "")
|
||||
if ($url === "" || $url === null)
|
||||
{
|
||||
$_SESSION["domframework"]["authentication"]["message"] =
|
||||
dgettext("domframework", "You have been logged out");
|
||||
|
||||
Reference in New Issue
Block a user