fix share password issues
This commit is contained in:
@@ -151,6 +151,13 @@ impl WarrenMetrics for MetricsDebugLogger {
|
||||
async fn record_warren_share_cat_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren share cat failed");
|
||||
}
|
||||
|
||||
async fn record_warren_share_password_verification_success(&self) {
|
||||
tracing::debug!("[Metrics] Warren share password verification succeeded");
|
||||
}
|
||||
async fn record_warren_share_password_verification_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren share password verification failed");
|
||||
}
|
||||
}
|
||||
|
||||
impl FileSystemMetrics for MetricsDebugLogger {
|
||||
|
||||
@@ -11,7 +11,7 @@ use crate::domain::{
|
||||
file::{AbsoluteFilePath, AbsoluteFilePathList, LsResponse},
|
||||
share::{
|
||||
CreateShareResponse, DeleteShareResponse, GetShareResponse, ListSharesResponse,
|
||||
ShareCatResponse, ShareLsResponse,
|
||||
ShareCatResponse, ShareLsResponse, VerifySharePasswordResponse,
|
||||
},
|
||||
user::{
|
||||
ListAllUsersAndWarrensResponse, LoginUserOidcResponse, LoginUserResponse, User,
|
||||
@@ -201,6 +201,13 @@ impl WarrenNotifier for NotifierDebugLogger {
|
||||
response.share().id(),
|
||||
);
|
||||
}
|
||||
|
||||
async fn warren_share_password_verified(&self, response: &VerifySharePasswordResponse) {
|
||||
tracing::debug!(
|
||||
"[Notifier] Verified password for share {}",
|
||||
response.share().id()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
impl FileSystemNotifier for NotifierDebugLogger {
|
||||
|
||||
Reference in New Issue
Block a user