mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-04 21:12:42 +08:00
[fix] avoid X11 None macro collision in credential recovery
This commit is contained in:
@@ -3113,7 +3113,7 @@ void GuiApplication::HandleCredentialRecovery() {
|
||||
CredentialRecoveryAction action;
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(password_change_mutex_);
|
||||
action = std::exchange(credential_recovery_action_, CredentialRecoveryAction::None);
|
||||
action = std::exchange(credential_recovery_action_, CredentialRecoveryAction::Idle);
|
||||
if (action == CredentialRecoveryAction::RetryActive) {
|
||||
credential_recovery_attempt_pending_ = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user