diff --git a/authentication.php b/authentication.php index 59ef1d3..e141f73 100644 --- a/authentication.php +++ b/authentication.php @@ -191,8 +191,8 @@ class authentication if (! array_key_exists ("firstname", $res)) $res["firstname"] = null; $session = new \authsession (); - $session-> savedata ($authparams->email, $authparams->password, - $res["lastname"], $res["firstname"]); + $session->savedata ($authparams->email, $authparams->password, + $res["lastname"], $res["firstname"]); if ($url === "") $this->route->redirect ("/", ""); else