From 014d9ca7e0cdc1ef4b633a28ba9befddb2951179 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Fri, 30 Aug 2019 16:43:48 +0800 Subject: User password member --- pages/Password.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pages') diff --git a/pages/Password.qml b/pages/Password.qml index 7cd3d16..0edb294 100644 --- a/pages/Password.qml +++ b/pages/Password.qml @@ -9,4 +9,10 @@ PasswordForm { stackView.pop() } } + + createPassButton { + onClicked: { + User.password = passTextField.text + } + } } -- cgit v1.2.3 From 07c432faf992781868f4d24b417c9cabb52a33d5 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Fri, 30 Aug 2019 18:53:52 +0800 Subject: Managed to post login credentials to the RT server For now, it's just to get a response --- pages/Password.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pages') 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) } } } -- cgit v1.2.3