From 9d16d266e36edafb782efe92c300d462fb4587e7 Mon Sep 17 00:00:00 2001 From: zhaoyingzhen Date: Mon, 21 Apr 2025 18:02:09 +0800 Subject: [PATCH] chore: remove password reset function in Snipe branch as title Log: as title Bug: PMS-313737 Change-Id: I453a949130bf3b59e8f827c5ff621fd9e8c9d895 --- src/session-widgets/auth_password.cpp | 2 ++ src/session-widgets/auth_single.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/session-widgets/auth_password.cpp b/src/session-widgets/auth_password.cpp index ebf41908..444ec6c7 100644 --- a/src/session-widgets/auth_password.cpp +++ b/src/session-widgets/auth_password.cpp @@ -756,11 +756,13 @@ void AuthPassword::updateResetPasswordUI() return; } +#ifndef ENABLE_DSS_SNIPE if (m_resetPasswordMessageVisible) { showResetPasswordMessage(); } else { closeResetPasswordMessage(); } +#endif } bool AuthPassword::isShowResetPasswordMessage() diff --git a/src/session-widgets/auth_single.cpp b/src/session-widgets/auth_single.cpp index faeddf5f..22bacb92 100644 --- a/src/session-widgets/auth_single.cpp +++ b/src/session-widgets/auth_single.cpp @@ -602,11 +602,13 @@ void AuthSingle::updateResetPasswordUI() return; } +#ifndef ENABLE_DSS_SNIPE if (m_resetPasswordMessageVisible) { showResetPasswordMessage(); } else { closeResetPasswordMessage(); } +#endif } bool AuthSingle::eventFilter(QObject *watched, QEvent *event)