summaryrefslogtreecommitdiff
path: root/pages/Password.qml
blob: fc45a5a62f6928f834a2f133beff8da3379bd8d2 (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 id.co.darapsa.kelakon.user 0.1

PasswordForm {
	width: stackView.width
	height: stackView.height
	backButton {
		onClicked: {
			stackView.pop()
		}
	}

	instructionLabel.text: qsTr("Create password")
	emailAddressLabel.text: User.emailAddress
	passTextField.placeholderText: qsTr("Password")

	createPassButton {
		text: qsTr("Next")
		onClicked: {
			User.password = passTextField.text
			stackView.push("qrc:/pages/ConfirmPassword.qml")
		}
	}
}