summaryrefslogtreecommitdiff
path: root/pages/ConfirmPassword.qml
blob: 1f2dd2ff3a885468c35e9490e6d4ae546243687f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import QtQuick 2.12
import KelakonUser 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")
		}
	}
}