Skip to content

Commit

Permalink
fix: #5 (#271)
Browse files Browse the repository at this point in the history
* fix: format error on login and console logs (#266)

* fix: Removed double component on login (#267)

* fix format on login (#269)

* fix: format error on login and console logs

* fix: display email message error on side bar fix

* fix: display email message error on side bar fix

* fix: console logs to search bug

* Staging (#270)

* fix: format error on login and console logs (#266)

* fix: Removed double component on login (#267)

---------

Co-authored-by: DanielDubon <[email protected]>

---------

Co-authored-by: DanielDubon <[email protected]>
  • Loading branch information
ElrohirGT and DanielDubon authored Oct 16, 2024
1 parent b0cd3c4 commit f10cd6c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sanitas_frontend/src/components/RequireAuth/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export default function RequireAuth({ children, getSession, path, useStore }) {
}, 4000);
} else {
setIsRedirecting(false);
console.log("Session: ", session);
console.log("Session Token: ", session.getAccessToken());
console.log("payload: ", session.getAccessToken().payload);

setDisplayName(
session.getAccessToken().payload.email ?? "no-username-found",
);
Expand Down

0 comments on commit f10cd6c

Please sign in to comment.