Skip to content

Commit

Permalink
Update Authenticator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayIterator authored Apr 24, 2024
1 parent 65ad301 commit 28b99ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/Google/Authenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public static function createLink(
int $codeLength = 6,
int $period = self::PERIOD
): string {
$codeLength = $codeLength !== 6 && $codeLength !== 8 ? 6 : 8;
$codeLength = $codeLength !== 6 && $codeLength !== 8 ? 6 : $codeLength;
$period = max($period, 15);
$period = min($period, 1800);
$args = [
Expand Down

0 comments on commit 28b99ce

Please sign in to comment.