cleanup errors
This commit is contained in:
+2
-2
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user