This commit is contained in:
Kekskurse 2019-07-17 18:42:27 +02:00
parent bd45f6091a
commit 23d00a49f4

View file

@ -126,6 +126,8 @@ class oAuthController extends Controller
$accessToken = AccessToken::createToken($access);
$refreshToken = RefreshToken::createToken($access);
$code->delete();
$token = new Token();
$token->expires_at = $accessToken->expires_at;
$token->token = $accessToken->token;