diff options
author | Christian Riesen <chris.riesen@gmail.com> | 2016-11-30 01:23:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 01:23:11 +0100 |
commit | e85a008d3deb156200eb9149ceb7144b18a3a400 (patch) | |
tree | bad74223fc20c68884bf2e082c5027aae190f434 | |
parent | b441f8338c0375df3e288225acefb943c0b3cb05 (diff) | |
download | otp-e85a008d3deb156200eb9149ceb7144b18a3a400.zip otp-e85a008d3deb156200eb9149ceb7144b18a3a400.tar.gz otp-e85a008d3deb156200eb9149ceb7144b18a3a400.tar.bz2 |
Fixed totp example in README
Thanks to @fkooman for the hint.
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ if ($otp->checkTotp(Base32::decode($secret), $key)) { } // Just to create a key for display (testing) -$key = $otp->totp($secret); +$key = $otp->totp(Base32::decode($secret)); ``` |