diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2016-11-10 20:15:11 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2016-11-10 20:15:11 -0500 |
| commit | 47b1d1524dbde0e2ff004f6b2c76f9038cf5958f (patch) | |
| tree | da9d24e05720e7f1b72fc76ffd1d46438b389150 /docs/lib | |
| parent | 1a982b8bba3a2a850d5f64ca725590cbd3521d6c (diff) | |
| download | passlib-47b1d1524dbde0e2ff004f6b2c76f9038cf5958f.tar.gz | |
totp: added cache_seconds to TotpMatch repr, fixed py3 bug in UTs
Diffstat (limited to 'docs/lib')
| -rw-r--r-- | docs/lib/passlib.totp-tutorial.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/lib/passlib.totp-tutorial.rst b/docs/lib/passlib.totp-tutorial.rst index 7a35c11..bfb595d 100644 --- a/docs/lib/passlib.totp-tutorial.rst +++ b/docs/lib/passlib.totp-tutorial.rst @@ -546,7 +546,7 @@ informational attributes. >>> # user provides correct token >>> otp.match('359275', time=1475338840) - <TotpMatch counter=49177961 time=1475338840> + <TotpMatch counter=49177961 time=1475338840 cache_seconds=60> As a further optimization, the :meth:`TOTP.verify` method allows deserializing and matching a token in a single step. Not only does this save a little code, |
