From 7dfbbc71f5e92951ca1a39b457e49bcb8d5ecfba Mon Sep 17 00:00:00 2001 From: garronej Date: Sat, 4 Mar 2023 22:36:49 +0100 Subject: [PATCH] Update comments --- src/App/oidc.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App/oidc.tsx b/src/App/oidc.tsx index 428acd3..ce4a854 100644 --- a/src/App/oidc.tsx +++ b/src/App/oidc.tsx @@ -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; };