keratin / authn-js

JavaScript client library for Keratin AuthN
GNU Lesser General Public License v3.0
45 stars 20 forks source link

fix bug with detecting early clocks #14

Closed cainlevy closed 7 years ago

cainlevy commented 7 years ago

Bug: the detection for clocks set in the past was comparing integer seconds against integer milliseconds. The integer milliseconds were always bigger.

Solution: milliseconds all the way down.