Skip to content

Commit

Permalink
Update to clear auth error on successful basic auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouder committed Aug 22, 2024
1 parent 9e383fe commit fb5ed63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/use-auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const useAuth = () => {
if (isSso) {
auth.signinRedirect({ redirect_uri: getSignInRedirectUrl() });
} else {
auth.error = undefined;
setIsSignedIn(true);
setCurrentUserData(userData);
}
Expand Down

0 comments on commit fb5ed63

Please sign in to comment.