summaryrefslogtreecommitdiff
path: root/pages/CreateProfile.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-17 19:52:50 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-17 19:52:50 +0800
commit3ac6ebbc5243f2b0ddddcfc58ba81eb686fb5aa2 (patch)
tree3ec457122cc34f4ecfcfad2a816deeba4aaa4dc4 /pages/CreateProfile.qml
parentacf879ebafaa870fc5ef942effa660a08041557e (diff)
Sign up functionality
Diffstat (limited to 'pages/CreateProfile.qml')
-rw-r--r--pages/CreateProfile.qml31
1 files changed, 29 insertions, 2 deletions
diff --git a/pages/CreateProfile.qml b/pages/CreateProfile.qml
index 483814f..b0b03a1 100644
--- a/pages/CreateProfile.qml
+++ b/pages/CreateProfile.qml
@@ -6,9 +6,36 @@ CreateProfileForm {
height: stackView.height
backButton.onClicked: stackView.pop()
skipButton.onClicked: {
- login.search(User.name)
stackView.push("qrc:/pages/Home.qml")
}
emailAddressLabel.text: User.emailAddress
- enterFullName.text: User.realName
+ startUsingKelakon.onClicked: {
+ User.name = userNameLabel.text
+ User.realName = enterFullName.text
+ login.signUp(
+ User.name
+ , User.emailAddress
+ , User.realName
+ , ""
+ , ""
+ , 0
+ , 0
+ , ""
+ , true
+ , false
+ , User.password
+ , ""
+ , ""
+ , ""
+ , ""
+ , ""
+ , ""
+ , ""
+ , ""
+ , ""
+ , ""
+ , ""
+ , ""
+ , "")
+ }
}