Skip to content

Commit

Permalink
Update Cargo.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
moubctez committed Oct 2, 2024
1 parent 2fc34a6 commit 060a44f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 32 deletions.
64 changes: 35 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/grpc/password_reset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use tokio::sync::mpsc::UnboundedSender;
use tonic::Status;

use super::proto::{
PasswordResetInitializeRequest, PasswordResetRequest, PasswordResetStartRequest,
DeviceInfo, PasswordResetInitializeRequest, PasswordResetRequest, PasswordResetStartRequest,
PasswordResetStartResponse,
};
use crate::{
Expand Down Expand Up @@ -71,7 +71,7 @@ impl PasswordResetServer {
pub async fn request_password_reset(
&self,
request: PasswordResetInitializeRequest,
req_device_info: Option<super::proto::DeviceInfo>,
req_device_info: Option<DeviceInfo>,
) -> Result<(), Status> {
let config = server_config();
debug!("Starting password reset request");
Expand Down Expand Up @@ -208,7 +208,7 @@ impl PasswordResetServer {
pub async fn reset_password(
&self,
request: PasswordResetRequest,
req_device_info: Option<super::proto::DeviceInfo>,
req_device_info: Option<DeviceInfo>,
) -> Result<(), Status> {
debug!("Starting password reset: {request:?}");
let enrollment = self.validate_session(&request.token).await?;
Expand Down

0 comments on commit 060a44f

Please sign in to comment.