Skip to content

Commit

Permalink
[Feature Request] Allow to disable default password log in after SSO …
Browse files Browse the repository at this point in the history
…is configured hoarder-app#406

added the error message for OAuth
  • Loading branch information
kamtschatka committed Oct 8, 2024
1 parent 6d8f664 commit 721c7ab
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions apps/web/components/signin/CredentialsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,14 @@ function SignIn() {

if (clientConfig.auth.disablePasswordAuth) {
return (
<p className="text-center">
Password authentication is currently disabled.
</p>
<>
{signinError && (
<p className="w-full text-center text-destructive">{signinError}</p>
)}
<p className="text-center">
Password authentication is currently disabled.
</p>
</>
);
}

Expand Down

0 comments on commit 721c7ab

Please sign in to comment.