Skip to content

Commit

Permalink
🚧 convert auth error to self::error
Browse files Browse the repository at this point in the history
  • Loading branch information
rathijitpapon committed Jul 4, 2024
1 parent 6f99048 commit 4eed6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/auth/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl AuthnBackend for PostgresBackend {
async fn authenticate(
&self,
creds: Self::Credentials,
) -> Result<Option<Self::User>, AuthError> {
) -> Result<Option<Self::User>, Self::Error> {
match creds {
Credentials::Password(password_cred) => {
password_cred
Expand Down

0 comments on commit 4eed6e3

Please sign in to comment.