From 97ed869230bde50e409b4d18ddb596bf5cfbb7cd Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sat, 10 Feb 2024 11:34:54 +0000 Subject: [PATCH] Pass username to Authenticator::verify_user_token() --- src/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.rs b/src/auth.rs index a04e7a6..0d86db1 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -24,7 +24,7 @@ impl Authenticator { } #[instrument] - pub async fn verify_user_token(&self, token: &UserToken) -> bool { + pub async fn verify_user_token(&self, username: &str, token: &UserToken) -> bool { todo!() } }