Skip to content

Commit

Permalink
remove dbg! statement
Browse files Browse the repository at this point in the history
  • Loading branch information
msrd0 committed May 19, 2021
1 parent f93b107 commit afd12d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ where
// validate the token
let data: Data = match jsonwebtoken::decode(&token, &DecodingKey::from_secret(&secret), &self.validation) {
Ok(data) => data.claims,
Err(e) => match dbg!(e.into_kind()) {
Err(e) => match e.into_kind() {
ErrorKind::ExpiredSignature => return AuthStatus::Expired,
_ => return AuthStatus::Invalid
}
Expand Down

0 comments on commit afd12d0

Please sign in to comment.