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

Allow TOTP accept code before and after 1 tick from now #16625

Merged
merged 1 commit into from
Sep 15, 2018
Merged

Conversation

awarecan
Copy link
Contributor

Description:

Only loosen for login flow, not for setup flow. Allow HA clock drift 30 seconds, and better user experience for mobile user.

Related issue (if applicable): fixes #16623

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

@homeassistant homeassistant added cla-signed core small-pr PRs with less than 30 lines. labels Sep 15, 2018
@ghost ghost assigned awarecan Sep 15, 2018
@ghost ghost added the in progress label Sep 15, 2018
@balloob balloob merged commit 34deaf8 into dev Sep 15, 2018
@ghost ghost removed the in progress label Sep 15, 2018
@balloob balloob deleted the awarecan-patch-2 branch September 15, 2018 11:28
@balloob balloob mentioned this pull request Sep 28, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed core small-pr PRs with less than 30 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Two-factor auth - need some allowable rollover time on the TOTPs
3 participants