fix: ignore empty password
This commit is contained in:
parent
f64e2d8fab
commit
ae627ab0d0
1 changed files with 3 additions and 0 deletions
|
|
@ -1059,6 +1059,9 @@ impl cosmic::Application for App {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Message::Submit(value) => {
|
Message::Submit(value) => {
|
||||||
|
if value.is_empty() {
|
||||||
|
return Task::none();
|
||||||
|
}
|
||||||
self.common.error_opt = None;
|
self.common.error_opt = None;
|
||||||
self.authenticating = true;
|
self.authenticating = true;
|
||||||
match self.value_tx_opt.take() {
|
match self.value_tx_opt.take() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue