diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/ConfirmPassword.qml | 4 | ||||
-rw-r--r-- | pages/Email.qml | 2 | ||||
-rw-r--r-- | pages/Password.qml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/pages/ConfirmPassword.qml b/pages/ConfirmPassword.qml index 1f2dd2f..51390f9 100644 --- a/pages/ConfirmPassword.qml +++ b/pages/ConfirmPassword.qml @@ -7,13 +7,13 @@ PasswordForm { backButton.onClicked: stackView.pop() userEmail.y: 292 instructionLabel.text: qsTr("Re-Enter password") - emailAddressLabel.text: User.emailAddress + emailAddressLabel.text: User.name passTextField.placeholderText: qsTr("Re-enter Password") createPassButton { text: qsTr("Confirm password") onClicked: { - appWindow.logIn(User.emailAddress, User.password) + appWindow.logIn(User.name, User.password) stackView.push("qrc:/pages/CreateProfile.qml") } } diff --git a/pages/Email.qml b/pages/Email.qml index 3f7a237..e489753 100644 --- a/pages/Email.qml +++ b/pages/Email.qml @@ -7,7 +7,7 @@ EmailForm { backButton.onClicked: stackView.pop() loginButton.onClicked: { - User.emailAddress = emailTextField.text + User.name = emailTextField.text stackView.push("qrc:/pages/Password.qml") } } diff --git a/pages/Password.qml b/pages/Password.qml index 241f299..2464af0 100644 --- a/pages/Password.qml +++ b/pages/Password.qml @@ -5,7 +5,7 @@ PasswordForm { width: stackView.width height: stackView.height backButton.onClicked: stackView.pop() - emailAddressLabel.text: User.emailAddress + emailAddressLabel.text: User.name createPassButton.onClicked: { User.password = passTextField.text |