summaryrefslogtreecommitdiff
path: root/LoginPassword.qml
blob: 2d8bbbabb06630ab60ea007d23b8aee4d23370b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.onClicked: {
			User.password = passwordTextField.text
			onboarding.logIn(User.name, User.password)
		}
}