diff options
Diffstat (limited to 'LoginPassword.qml')
-rw-r--r-- | LoginPassword.qml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/LoginPassword.qml b/LoginPassword.qml index 8b65a11..d2e8064 100644 --- a/LoginPassword.qml +++ b/LoginPassword.qml @@ -4,20 +4,15 @@ import "larva/features" LoginPasswordForm { emailTextLabel.text: User.name - - passwordTextField.onTextChanged: { + passwordTextField.onTextChanged: if (!passwordTextField.text || !continueButton.enabled) continueButton.enabled = !continueButton.enabled - } continueButton { icon.source: "assets/arrow-forward-24px.svg" onClicked: { User.password = passwordTextField.text - onClicked: { - onboarding.logIn(User.name, User.password) - onboarding.ticketSearch(User.name) - } + onboarding.logIn(User.name, User.password) } } } |