summaryrefslogtreecommitdiff
path: root/ConfirmPassword.qml
blob: 88618a30529d73dd25887611ba3d2c0b1ca43277 (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
27
28
import QtQuick 2.12
import KelakonUser 0.1
import "pages"

PasswordForm {
	backButton {
		icon.source: "larva/components/icons/arrow-back-24px.svg"
		onClicked: pageView.pop()
	}

	userEmail.y: 292
	passImage.source: "larva/components/icons/lock-24px.svg"
	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: pageView.push("CreateProfile.qml")
	}
}