summaryrefslogtreecommitdiff
path: root/pages/ConfirmPassword.qml
blob: 6d37be7723eba39f819820e768a480e2fec6c773 (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
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.name

	passTextField {
		placeholderText: qsTr("Re-enter Password")
		onTextChanged:
			if (passTextField.text == User.password)
				createPassButton.enabled = true
	}

	createPassButton {
		enabled: false
		text: qsTr("Confirm password")
		onClicked: stackView.push("qrc:/pages/CreateProfile.qml")
	}
}