cleanup errors

This commit is contained in:
2026-08-01 18:32:14 -04:00
parent 188ce23e67
commit 6a2cef2003
4 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -128,8 +128,8 @@ pub trait InvitationRepository: Send + Sync {
#[async_trait]
pub trait PasswordHasher: Send + Sync {
fn hash(&self, password: &str) -> Result<String, String>;
fn verify(&self, password: &str, encoded_hash: &str) -> Result<bool, String>;
fn hash(&self, password: &str) -> DomainResult<String>;
fn verify(&self, password: &str, encoded_hash: &str) -> DomainResult<bool>;
}
#[async_trait]