Return Result from Authenticator::verify_user_token()
This commit is contained in:
parent
97ed869230
commit
62390aa0ad
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ impl Authenticator {
|
|||
}
|
||||
|
||||
#[instrument]
|
||||
pub async fn verify_user_token(&self, username: &str, token: &UserToken) -> bool {
|
||||
pub async fn verify_user_token(&self, username: &str, token: &UserToken) -> Result<(), ()> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue