summaryrefslogtreecommitdiff
path: root/pages/Password.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-31 09:47:21 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-31 09:47:21 +0700
commit525b3eaf3a55ea4acf1d41189a573a54901b4426 (patch)
treebccfa78937b0cd1bbc93bedcb3c168ce95dba471 /pages/Password.qml
parent4fb624054cfe1813b4e56423c27056cd80c7c120 (diff)
parent19ebf9e75257adc89a3d43076f8404c87b1d0c60 (diff)
Merge branch 'development' of ssh://darapsa.co.id/usr/local/git/kelakon into development
* 'development' of ssh://darapsa.co.id/usr/local/git/kelakon: Renamed the rtclient project to librtclient Managed to post login credentials to the RT server Made user name editable User password member Affirming the previous commit Revert "Made the user class members more straightforward" Made the user class members more straightforward
Diffstat (limited to 'pages/Password.qml')
-rw-r--r--pages/Password.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/pages/Password.qml b/pages/Password.qml
index 7cd3d16..a499a65 100644
--- a/pages/Password.qml
+++ b/pages/Password.qml
@@ -1,5 +1,6 @@
import QtQuick 2.12
import id.co.darapsa.kelakon.user 0.1
+import id.co.darapsa.kelakon.rtclient 0.1
PasswordForm {
width: stackView.width
@@ -9,4 +10,11 @@ PasswordForm {
stackView.pop()
}
}
+
+ createPassButton {
+ onClicked: {
+ User.password = passTextField.text
+ RTClient.logIn(User.emailAddress, User.password)
+ }
+ }
}