summaryrefslogtreecommitdiff
path: root/LoginPassword.qml
blob: d2e80644a841620be2b166d78d6f2849ee72325b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 2.12
import KelakonUser 0.1
import "larva/features"

LoginPasswordForm {
	emailTextLabel.text: User.name
	passwordTextField.onTextChanged:
		if (!passwordTextField.text || !continueButton.enabled)
			continueButton.enabled = !continueButton.enabled

	continueButton {
		icon.source: "assets/arrow-forward-24px.svg"
		onClicked: {
			User.password = passwordTextField.text
			onboarding.logIn(User.name, User.password)
		}
	}
}