authentication : update code esthetics
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3391 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -191,8 +191,8 @@ class authentication
|
|||||||
if (! array_key_exists ("firstname", $res))
|
if (! array_key_exists ("firstname", $res))
|
||||||
$res["firstname"] = null;
|
$res["firstname"] = null;
|
||||||
$session = new \authsession ();
|
$session = new \authsession ();
|
||||||
$session-> savedata ($authparams->email, $authparams->password,
|
$session->savedata ($authparams->email, $authparams->password,
|
||||||
$res["lastname"], $res["firstname"]);
|
$res["lastname"], $res["firstname"]);
|
||||||
if ($url === "")
|
if ($url === "")
|
||||||
$this->route->redirect ("/", "");
|
$this->route->redirect ("/", "");
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user