fix: ignore empty password

This commit is contained in:
Ralph S 2026-08-17 15:45:03 -04:00 • committed by GitHub
parent f64e2d8fab
commit ae627ab0d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1059,6 +1059,9 @@ impl cosmic::Application for App {
}
}
Message::Submit(value) => {
if value.is_empty() {
return Task::none();
}
self.common.error_opt = None;
self.authenticating = true;
match self.value_tx_opt.take() {