Skip to content

Commit

Permalink
fix(authentication-service): revert previous commit
Browse files Browse the repository at this point in the history
RD-0
  • Loading branch information
samarpan-b committed Nov 4, 2020
1 parent b10e58d commit 5ade792
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,7 @@ export class LoginController {
issuer: process.env.JWT_ISSUER,
});
response.redirect(
`${client.redirectUrl}?code=${token}&username=${encodeURI(
this.user.username,
)}`,
`${client.redirectUrl}?code=${token}&username=${this.user.username}`,
);
} catch (error) {
this.logger.error(error);
Expand Down Expand Up @@ -531,9 +529,7 @@ export class LoginController {
issuer: process.env.JWT_ISSUER,
});
response.redirect(
`${client.redirectUrl}?code=${token}&user=${encodeURI(
this.user.username,
)}`,
`${client.redirectUrl}?code=${token}&user=${this.user.username}`,
);
} catch (error) {
this.logger.error(error);
Expand Down

0 comments on commit 5ade792

Please sign in to comment.