Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for email confirmation #81

Merged
merged 2 commits into from
Jan 28, 2020

Conversation

Rudokhvist
Copy link
Contributor

Recently steam changed procedure of adding authenticator - now before adding phone number it's required to confirm email once more. This PR adds support for this step.

@Rudokhvist
Copy link
Contributor Author

I'm going to send appropriate PR to https://github.com/Jessecar96/SteamDesktopAuthenticator after(if) this PR will be merged.

Copy link

@dyc3 dyc3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't formally test it myself, but nothing sticks out immediately as strange except the difference in code style and indentation.

Comment on lines 56 to 66
if (!hasPhone) {
if (confirmationEmailSent) {
if (!_checkEmailConfirmation()) {
return LinkResult.GeneralFailure;
}
} else if (!_addPhoneNumber()) {
return LinkResult.GeneralFailure;
} else {
confirmationEmailSent = true;
return LinkResult.MustConfirmEmail;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a huge issue, but you are using tabs to indent, which is inconsistent with the rest of the file which uses spaces.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, fixed it.

@Burnwithme
Copy link

How can i access this ?

@Rudokhvist
Copy link
Contributor Author

@Burnwithme access what exactly?

@Burnwithme
Copy link

Is there an edited and ready to use version?

@Rudokhvist
Copy link
Contributor Author

@Burnwithme if you need fixed SteamDesktopAuthenticator - you can use my fork from here https://github.com/Ryzhehvost/SteamDesktopAuthenticator/releases/latest for now. If you need just library - you can clone my repo https://github.com/Ryzhehvost/SteamAuth for now.

@Jessecar96 Jessecar96 merged commit 96ca6af into geel9:master Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants