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 mfa, possible fix for #140 #144

Merged
merged 5 commits into from
Apr 25, 2020
Merged

Add mfa, possible fix for #140 #144

merged 5 commits into from
Apr 25, 2020

Conversation

xbenjii
Copy link
Contributor

@xbenjii xbenjii commented Apr 22, 2020

Apologies as I'm not well versed in C#, also needs the new tests adding but this should give us a start.

Let me know if you need anything else.

@gpailler gpailler linked an issue Apr 23, 2020 that may be closed by this pull request
@gpailler gpailler added this to the vNext milestone Apr 23, 2020
@gpailler
Copy link
Owner

Hi @xbenjii . Thanks a lot for the PR. I tested quickly and it works perfectly. I think adding unit tests for MFA will be complicated so I'm ok to merge the PR without any additional test.
Could just handle the styling comments?

Thanks!

@xbenjii
Copy link
Contributor Author

xbenjii commented Apr 23, 2020

@gpailler Thanks! I was a bit concerned with the failing unit tests but then realized they require a bit of setup. Not sure about the flaky ones in CI too, as they sometimes work and other times don't.

@gpailler
Copy link
Owner

Yes, I will check the tests in the CI. They are sometimes failing because of Mega API throttling.

@gpailler
Copy link
Owner

Will merge to master and will fix the UTs

@gpailler gpailler merged commit 2efd957 into gpailler:master Apr 25, 2020
gpailler pushed a commit that referenced this pull request Apr 25, 2020
* Add optional MFA token to login requests
gpailler added a commit that referenced this pull request Apr 25, 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.

Two-Factor Authentication
2 participants