Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
geropl committed Sep 21, 2021
1 parent fd985fc commit 2569049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/dashboard/src/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export function Login() {
}, [])

const authorizeSuccessful = async (payload?: string) => {
updateUser();
console.log("payload: " + JSON.stringify(payload, undefined, 2));
updateUser().catch(console.error);
// Check for a valid returnTo in payload
const safeReturnTo = getSafeURLRedirect(payload);
if (safeReturnTo) {
Expand Down

0 comments on commit 2569049

Please sign in to comment.