Commit b94e3eeb authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Bugfix

parent 9be006f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -370,7 +370,7 @@ Flight::route('POST /token-issuer', function () {
    }

    $tokenBuilder = $locator->getTokenBuilder();
    $userId = $this->locator->getSession()->getUser()->id;
    $userId = $locator->getSession()->getUser()->id;
    $token = $tokenBuilder->generateNewToken($userId, $postData['lifespan'], $postData['audit']);

    header('Content-Type: text/plain');