Commit 005cac1b authored by raphael.peim's avatar raphael.peim

Update token

parent c2820a9c
......@@ -42,7 +42,7 @@
"data" => array(
"firstname" => $user->firstname,
"lastname" => $user->lastname,
"lastname" => $user->login,
"login" => $user->login,
"email" => $user->email
)
);
......
......@@ -14,7 +14,6 @@
public function processRequest() {
try {
$jwt_token = $this->request->getJwtToken();
// echo "jwt = $jwt_token";
$decodedJWT = JWT::decode($jwt_token, JWT_BACKEND_KEY, array('HS256'));
$jsonResult = json_encode(array(
"message" => "Access granted.",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment