summaryrefslogtreecommitdiff
path: root/LoginPassword.qml
blob: d224526e0d2f00dc342841a55d0932c0cd65b96c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 2.15
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
			window.logIn(User.name, User.password)
		}
}