From fb5ed6307e1ea0326b2e1c82cfead7570c060c08 Mon Sep 17 00:00:00 2001 From: Johnny Bouder Date: Thu, 22 Aug 2024 09:44:38 -0400 Subject: [PATCH] Update to clear auth error on successful basic auth. --- src/hooks/use-auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/use-auth.ts b/src/hooks/use-auth.ts index f112c56d..4f2df260 100644 --- a/src/hooks/use-auth.ts +++ b/src/hooks/use-auth.ts @@ -61,6 +61,7 @@ const useAuth = () => { if (isSso) { auth.signinRedirect({ redirect_uri: getSignInRedirectUrl() }); } else { + auth.error = undefined; setIsSignedIn(true); setCurrentUserData(userData); }