Skip to content

Commit

Permalink
feat: show auth error like flash message
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundhung committed May 25, 2022
1 parent 39b0d1b commit 5812853
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion worker/context/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export function createSession(
},
});

let authenticator = new Authenticator<UserProfile>(sessionStorage);
let authenticator = new Authenticator<UserProfile>(sessionStorage, {
sessionErrorKey: 'message',
});

if (
!env.GITHUB_CLIENT_ID ||
Expand Down

0 comments on commit 5812853

Please sign in to comment.