summaryrefslogtreecommitdiff
path: root/pages/CreateProfile.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-17 21:22:07 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-17 21:22:07 +0800
commit74f22dd0200dce263522c68d57901547d61350de (patch)
treed6a0348cc3d45ee2c56c2f4b72d70bb1978572a3 /pages/CreateProfile.qml
parent3ac6ebbc5243f2b0ddddcfc58ba81eb686fb5aa2 (diff)
Simplify userNew use code
Diffstat (limited to 'pages/CreateProfile.qml')
-rw-r--r--pages/CreateProfile.qml27
1 files changed, 2 insertions, 25 deletions
diff --git a/pages/CreateProfile.qml b/pages/CreateProfile.qml
index b0b03a1..a324149 100644
--- a/pages/CreateProfile.qml
+++ b/pages/CreateProfile.qml
@@ -12,30 +12,7 @@ CreateProfileForm {
startUsingKelakon.onClicked: {
User.name = userNameLabel.text
User.realName = enterFullName.text
- login.signUp(
- User.name
- , User.emailAddress
- , User.realName
- , ""
- , ""
- , 0
- , 0
- , ""
- , true
- , false
- , User.password
- , ""
- , ""
- , ""
- , ""
- , ""
- , ""
- , ""
- , ""
- , ""
- , ""
- , ""
- , ""
- , "")
+ login.signUp(User.name, User.password, User.emailAddress
+ , User.realName)
}
}