bug fixing

This commit is contained in:
Roland Schneider
2021-10-06 18:31:56 +02:00
parent ad2be423d9
commit d26581e338
28 changed files with 527 additions and 83 deletions

View File

@@ -55,6 +55,7 @@ class LoginController extends CustomerApiController
->expiresAt($time + 3600)// Configures the expiration time of the token (exp claim)
->withClaim('uid', $form->getCustomer()->getId())// Configures a new claim, called "uid"
->withClaim('username', $form->getCustomer()->email)// Configures a new claim, called "username"
->withClaim('card', $form->getCustomer()->card->number )// Configures a new claim, called "username"
->getToken($signer, $key); // Retrieves the generated token
return $this->asJson([