mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 17:57:47 +03:00
chore(clippy): fix all clippy warnings
This commit is contained in:
@@ -28,7 +28,7 @@ async fn sign_in_combined(
|
||||
return Err(ErrorCode::IncorrectCredentials);
|
||||
}
|
||||
|
||||
match bcrypt::verify(&data.password, &user.password.as_ref().unwrap()) {
|
||||
match bcrypt::verify(&data.password, user.password.as_ref().unwrap()) {
|
||||
Ok(result) => {
|
||||
if !result {
|
||||
return Err(ErrorCode::IncorrectCredentials);
|
||||
@@ -124,8 +124,6 @@ mod schema {
|
||||
InvalidVkAccessToken,
|
||||
}
|
||||
|
||||
/// Internal
|
||||
|
||||
/// Type of authorization.
|
||||
pub enum SignInData {
|
||||
/// User and password name and password.
|
||||
|
||||
Reference in New Issue
Block a user