summaryrefslogtreecommitdiff
path: root/pages/Password.qml
blob: a499a65421a271b3378403e6b81bd675f7727daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import QtQuick 2.12
import id.co.darapsa.kelakon.user 0.1
import id.co.darapsa.kelakon.rtclient 0.1

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

    createPassButton {
	    onClicked: {
		    User.password = passTextField.text
		    RTClient.logIn(User.emailAddress, User.password)
	    }
    }
}