diff options
Diffstat (limited to 'pages/LoginPass.qml')
-rw-r--r-- | pages/LoginPass.qml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/pages/LoginPass.qml b/pages/LoginPass.qml deleted file mode 100644 index 9e5d2f4..0000000 --- a/pages/LoginPass.qml +++ /dev/null @@ -1,20 +0,0 @@ -import QtQuick 2.12 -import KelakonUser 0.1 - -PasswordForm { - width: stackView.width - height: stackView.height - backButton.onClicked: stackView.pop() - instructionLabel.text: qsTr("Enter password") - emailAddressLabel.text: User.name - - passTextField.onTextChanged: { - if (!passTextField.text || !createPassButton.enabled) - createPassButton.enabled = !createPassButton.enabled - } - - createPassButton.onClicked: { - User.password = passTextField.text - onClicked: login.logIn(User.name, User.password) - } -} |