Cargo clippy
This commit is contained in:
parent
acabf438ed
commit
03a4bbb580
@ -309,7 +309,7 @@ pub async fn token(req: HttpRequest,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(_) = session.access_token {
|
if session.access_token.is_some() {
|
||||||
return Ok(error_response(&query, "invalid_request", "Authorization code already used!"));
|
return Ok(error_response(&query, "invalid_request", "Authorization code already used!"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user