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

Default totp settings #148

Merged
merged 3 commits into from May 4, 2020
Merged

Default totp settings #148

merged 3 commits into from May 4, 2020

Conversation

robinvanpoppel
Copy link
Collaborator

@robinvanpoppel robinvanpoppel commented May 3, 2020

As suggested in #147 fall back to default settings (duration 30, length 6) when there are no explicit settings.

Separated getting settings to it's own class. Not fully sure on how to name it. For now called it TOTPEntryValidator, but that's not the only thing it does. This will also make it easier to switch to the KeyUri format.

@robinvanpoppel robinvanpoppel requested a review from dannoe May 3, 2020 09:26
@sonarcloud
Copy link

sonarcloud bot commented May 3, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 46 Code Smells

50.5% 50.5% Coverage
0.5% 0.5% Duplication

Copy link
Contributor

@dannoe dannoe left a comment

Choose a reason for hiding this comment

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

👍

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

2 participants