Change data by resCheckTokenAuth
This commit is contained in:
parent
4e042389c5
commit
20164417fb
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export class AuthenticateController extends BaseController {
|
|||
const resCheckTokenAuth = await openIDClient.checkTokenAuth(authTokenData.accessToken);
|
||||
res.writeStatus("200");
|
||||
this.addCorsHeaders(res);
|
||||
return res.end(JSON.stringify({ ...data, authToken: token }));
|
||||
return res.end(JSON.stringify({ ...resCheckTokenAuth, authToken: token }));
|
||||
} catch (err) {
|
||||
console.info("User was not connected", err);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue