Skip to content
Snippets Groups Projects
Commit da1c6cce authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Debug cookie not set on dev env

parent a000c901
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -30,6 +30,8 @@ export class AuthenticationController { ...@@ -30,6 +30,8 @@ export class AuthenticationController {
async legacyLogin(@Body() body: LoginForm, @Res() res: Response) { async legacyLogin(@Body() body: LoginForm, @Res() res: Response) {
try { try {
const loginResult = await this._authService.legacyLogin(body); const loginResult = await this._authService.legacyLogin(body);
Logger.log(this._configService.config.accessTokenCookieKey);
Logger.log(this._configService.config.cookieDomain);
res.cookie( res.cookie(
this._configService.config.accessTokenCookieKey, this._configService.config.accessTokenCookieKey,
loginResult.jwtToken, loginResult.jwtToken,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment