diff --git a/edu-ws/src/token/sso.rs b/edu-ws/src/token/sso.rs index 093d2c2..5efc11e 100644 --- a/edu-ws/src/token/sso.rs +++ b/edu-ws/src/token/sso.rs @@ -19,7 +19,7 @@ impl Signature { fn from(site_url: &Url, passport: f64) -> Self { let mut context = md5::Context::new(); context.consume(site_url.as_str().trim_end_matches('/')); - context.consume(&passport.to_string()); + context.consume(passport.to_string()); Self(context.compute().into()) } }