summaryrefslogtreecommitdiff
path: root/pages/Password.qml
blob: befeea56481c8f3667d286b32d900e4b030aa48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)
        }
    }

    emailAddressLabel.text: User.emailAddress
}