Make UserAuthenticator::create_user_token() take &self
This commit is contained in:
parent
13e5a6e18c
commit
7bd354429a
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ impl UserAuthenticator {
|
|||
|
||||
#[instrument]
|
||||
pub async fn create_user_token(
|
||||
&mut self,
|
||||
&self,
|
||||
username: &str,
|
||||
password: &Password,
|
||||
) -> Result<UserToken, AuthenticationError> {
|
||||
|
|
Loading…
Reference in a new issue