summaryrefslogtreecommitdiff
path: root/pages/ConfirmPassword.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-05 11:16:04 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-05 11:16:04 +0800
commitaedcbd11f03979ac3d8caa16dcd72be1bbd82e07 (patch)
tree397b71750b11f9742fbca543f8be91ad16f3aef6 /pages/ConfirmPassword.qml
parent91619372151514a5cdcc686f15ea00c574d55cc1 (diff)
Reuse password form for password confirmation
Diffstat (limited to 'pages/ConfirmPassword.qml')
-rw-r--r--pages/ConfirmPassword.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/pages/ConfirmPassword.qml b/pages/ConfirmPassword.qml
index 78e57f1..4b6d587 100644
--- a/pages/ConfirmPassword.qml
+++ b/pages/ConfirmPassword.qml
@@ -2,7 +2,7 @@ import QtQuick 2.12
import id.co.darapsa.kelakon.user 0.1
import id.co.darapsa.kelakon.rtclient 0.1
-ConfirmPasswordForm {
+PasswordForm {
width: stackView.width
height: stackView.height
@@ -12,9 +12,13 @@ ConfirmPasswordForm {
}
}
+ userEmail.y: 292
+ instructionLabel.text: qsTr("Re-Enter password")
emailAddressLabel.text: User.emailAddress
+ passTextField.placeholderText: qsTr("Re-enter Password")
- confirmPassButton {
+ createPassButton {
+ text: qsTr("Confirm password")
onClicked: {
RTClient.logIn(User.emailAddress, User.password)
stackView.push("qrc:/pages/CreateProfile.qml")