server: Clarify logging of login attempts and failures

This commit is contained in:
Valentin Tolmer
2024-09-26 20:23:52 +02:00
committed by nitnelave
parent 120ad34f92
commit 0c6a92a8fa
3 changed files with 43 additions and 60 deletions

View File

@@ -3,7 +3,7 @@ use thiserror::Error;
#[allow(clippy::enum_variant_names)]
#[derive(Error, Debug)]
pub enum DomainError {
#[error("Authentication error: `{0}`")]
#[error("Authentication error {0}")]
AuthenticationError(String),
#[error("Database error: `{0}`")]
DatabaseError(#[from] sea_orm::DbErr),