Rename AuthenticationError::Backend to Database
This commit is contained in:
parent
e7a73009ad
commit
8dd283d773
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ pub enum AuthenticationError {
|
||||||
InvalidToken,
|
InvalidToken,
|
||||||
#[error("Invalid server hash")]
|
#[error("Invalid server hash")]
|
||||||
InvalidServerHash,
|
InvalidServerHash,
|
||||||
#[error("Authentication backend error")]
|
#[error("Database error")]
|
||||||
Backend(#[from] sqlx::Error),
|
Database(#[from] sqlx::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
Loading…
Reference in a new issue