summaryrefslogtreecommitdiff
path: root/LoginPassword.qml
blob: d3069146f43137f19648f60e3f1ab36765d728d5 (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
			window.logIn(User.name, User.password)
		}
}