Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Typo in code
  • Loading branch information
diversen authored and lfkeitel committed Apr 7, 2022
1 parent 328a71c commit 5b1673e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo Base32::encode($secret);

# Generate the current TOTP key
# Note: GenerateToken takes a base32 decoded string of bytes.
$key = (new Totp())->GenerateToken($secret)
$key = (new Totp())->GenerateToken($secret);

# Check if user submitted correct key
if ($user_submitted_key !== $key) {
Expand Down Expand Up @@ -85,4 +85,4 @@ $

## License

This software is released under the MIT license which can be found in LICENSE.
This software is released under the MIT license which can be found in LICENSE.

0 comments on commit 5b1673e

Please sign in to comment.