Make UserAuthenticator::create_user_token() take &self

This commit is contained in:
Xiretza 2024-02-10 18:32:58 +00:00
parent 13e5a6e18c
commit 7bd354429a

View file

@ -46,7 +46,7 @@ impl UserAuthenticator {
#[instrument]
pub async fn create_user_token(
&mut self,
&self,
username: &str,
password: &Password,
) -> Result<UserToken, AuthenticationError> {