summaryrefslogtreecommitdiff
path: root/pages/ConfirmPassword.qml
blob: b7fdc3aa4aa6212f4f6231d63e7e2d30b310a371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import QtQuick 2.12
import id.co.darapsa.kelakon.user 0.1

PasswordForm {
	width: stackView.width
	height: stackView.height

	backButton {
		onClicked: {
			stackView.pop()
		}
	}

	userEmail.y: 292
	instructionLabel.text: qsTr("Re-Enter password")
	emailAddressLabel.text: User.emailAddress
	passTextField.placeholderText: qsTr("Re-enter Password")

	createPassButton {
		text: qsTr("Confirm password")
		onClicked: {
			appWindow.logIn(User.emailAddress, User.password)
			stackView.push("qrc:/pages/CreateProfile.qml")
		}
	}
}