pub async fn log_in(
user_login: String,
salt_db: &[u8],
hash_db: &[u8],
possible_user_id: UserId,
cacher: &Pool<RedisConnectionManager>
) -> MResult<UserToken>Expand description
Authorizes the user by creating a new token for him if the data is correct.