summaryrefslogtreecommitdiff
path: root/pages/Password.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-31 12:17:07 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-31 12:17:07 +0700
commit5ae553405369ad61678bd5596e3264b595109fcd (patch)
tree4e9c61e7fe1e55a261853fff161a155e70678e1a /pages/Password.qml
parentbe656ae46d2479eedda714b9248a06383760b4c2 (diff)
parent58ed74cd70d6de558b8d9cb77844e95b5f72b341 (diff)
Merge branch 'master' of ssh://darapsa.co.id/usr/local/git/kelakon into development
* 'master' of ssh://darapsa.co.id/usr/local/git/kelakon: Fixed the android debug label library name Set up flows from password form to profile creation form # Conflicts: # pages/CreateProfileForm.ui.qml
Diffstat (limited to 'pages/Password.qml')
-rw-r--r--pages/Password.qml29
1 files changed, 14 insertions, 15 deletions
diff --git a/pages/Password.qml b/pages/Password.qml
index befeea5..4a1ae59 100644
--- a/pages/Password.qml
+++ b/pages/Password.qml
@@ -1,22 +1,21 @@
import QtQuick 2.12
import id.co.darapsa.kelakon.user 0.1
-import id.co.darapsa.kelakon.rtclient 0.1
PasswordForm {
- width: stackView.width
- height: stackView.height
- backButton {
- onClicked: {
- stackView.pop()
- }
- }
+ width: stackView.width
+ height: stackView.height
+ backButton {
+ onClicked: {
+ stackView.pop()
+ }
+ }
- createPassButton {
- onClicked: {
- User.password = passTextField.text
- RTClient.logIn(User.emailAddress, User.password)
- }
- }
+ emailAddressLabel.text: User.emailAddress
- emailAddressLabel.text: User.emailAddress
+ createPassButton {
+ onClicked: {
+ User.password = passTextField.text
+ stackView.push("qrc:/pages/ConfirmPassword.qml")
+ }
+ }
}