bug fixing
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user