Skip to content

Commit

Permalink
fix: remove access token printed in console log (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
masskoder authored Dec 1, 2022
1 parent 9e8b95c commit 72d00b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/gds-user-ui/src/utils/auth0.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ export const getRefreshToken = async (hasRefreshToken: boolean) => {

export const refreshNewToken = async () => {
const user = (await refreshAndFetchUser()) as any;
console.log('[user?.accessToken]', user?.accessToken);
if (user) {
setCookie('access_token', user?.accessToken);
return !!user?.accessToken;
Expand Down

0 comments on commit 72d00b8

Please sign in to comment.