Rename all the datas to data

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2512 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-02-21 19:21:29 +00:00
parent 82f6f96c2e
commit c283362d05
15 changed files with 92 additions and 85 deletions

View File

@@ -150,7 +150,7 @@ class authentication
// Login OK : save in SESSION and go to main page
trigger_error ("Logging in for '$authparams->email'", E_USER_NOTICE);
$session = new authsession ();
$session-> savedatas ($authparams->email, $authparams->password,
$session-> savedata ($authparams->email, $authparams->password,
$res["lastname"], $res["firstname"]);
if ($url === "")
$this->route->redirect ("/", "");
@@ -212,7 +212,7 @@ class authentication
/** Do the real authentication process on all the providers defined in the
properties of the class.
@return an array containing the user datas if the authentication is
@return an array containing the user data if the authentication is
correct,
an exception if noting is found */
private function verifAuth ($email, $password)