fix: sending code got stuck sometimes

This commit is contained in:
Timo Kösters 2021-02-26 13:24:07 +01:00
parent 566b8ebabb
commit f7713fdf2e
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
2 changed files with 59 additions and 23 deletions

View file

@ -82,9 +82,7 @@ where
registration
.get("as_token")
.and_then(|as_token| as_token.as_str())
.map_or(false, |as_token| {
dbg!(token.as_deref()) == dbg!(Some(as_token))
})
.map_or(false, |as_token| token.as_deref() == Some(as_token))
}) {
match T::METADATA.authentication {
AuthScheme::AccessToken | AuthScheme::QueryOnlyAccessToken => {