Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Mar 4, 2023
1 parent 0169d54 commit 7dfbbc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App/oidc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export declare namespace OidcClient {
export type NotLoggedIn = {
isUserLoggedIn: false;
login: (params: {
//To prevent infinite loop if the user click login then cancel.
//To prevent infinite loop if the user access a page that requires to
//be authenticated but cancel (clicks back).
doesCurrentHrefRequiresAuth: boolean;
}) => Promise<never>;
};
Expand Down

0 comments on commit 7dfbbc7

Please sign in to comment.