j256 / two-factor-auth

Two Factor Authentication Java code implementing the Time-based One-time Password Algorithm
ISC License
313 stars 110 forks source link

Fixed bad bug in how the windows were handled. #25

Closed j256 closed 3 years ago

j256 commented 3 years ago

Fixes https://github.com/j256/two-factor-auth/issues/10

codecov[bot] commented 3 years ago

Codecov Report

Merging #25 (cade8f6) into master (3ae0c5b) will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #25      +/-   ##
============================================
+ Coverage     97.81%   97.84%   +0.03%     
- Complexity       45       49       +4     
============================================
  Files             1        1              
  Lines           137      139       +2     
  Branches         17       17              
============================================
+ Hits            134      136       +2     
  Misses            1        1              
  Partials          2        2              
Impacted Files Coverage Δ Complexity Δ
...56/twofactorauth/TimeBasedOneTimePasswordUtil.java 97.84% <100.00%> (+0.03%) 49.00 <12.00> (+4.00)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3ae0c5b...cade8f6. Read the comment docs.