summaryrefslogtreecommitdiff
path: root/gui/qml/LoginDialog.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-09-08 16:19:36 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-08 20:10:16 +0200
commita40434d402ceb9cfacff59aeeab12a3d6b13a0ed (patch)
tree95521c9e1aa63dcfa0532704a1497cae15a639f8 /gui/qml/LoginDialog.qml
parent6ba46743264ad88132f4492b904b10542842e284 (diff)
[feat] do not show password field if allowEmptyPass is set
Diffstat (limited to 'gui/qml/LoginDialog.qml')
-rw-r--r--gui/qml/LoginDialog.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/qml/LoginDialog.qml b/gui/qml/LoginDialog.qml
index 1724769..897081b 100644
--- a/gui/qml/LoginDialog.qml
+++ b/gui/qml/LoginDialog.qml
@@ -18,6 +18,7 @@ Dialog {
id: password
placeholderText: qsTr("password")
echoMode: TextInput.PasswordEchoOnEdit
+ visible: !allowEmptyPass
}
}