fix: sending code got stuck sometimes
This commit is contained in:
parent
566b8ebabb
commit
f7713fdf2e
2 changed files with 59 additions and 23 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue