summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-30 18:53:52 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-30 18:53:52 +0800
commit07c432faf992781868f4d24b417c9cabb52a33d5 (patch)
treeb1b8c262509ce932e1169d9aa59c516de1bb31a5 /pages
parent2235e4736994ae902e6cff167c5550168c0a37bb (diff)
Managed to post login credentials to the RT server
For now, it's just to get a response
Diffstat (limited to 'pages')
-rw-r--r--pages/Password.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/Password.qml b/pages/Password.qml
index 0edb294..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
@@ -13,6 +14,7 @@ PasswordForm {
createPassButton {
onClicked: {
User.password = passTextField.text
+ RTClient.logIn(User.emailAddress, User.password)
}
}
}