Skip to content

Commit

Permalink
Update src/Storage/AuthorizationCodeStorage.php
Browse files Browse the repository at this point in the history
Co-authored-by: Paulo Pinto <[email protected]>
  • Loading branch information
ashfame and psrpinto authored Sep 14, 2023
1 parent 9d3afb8 commit 26fe620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/AuthorizationCodeStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private function getUserIdByCode( $code ) {
$debug_log = "[CONCURRENTLOGINS] more than 1 user found for code: $code.";
$found = 0;
$found_user_id = 0;
foreach ( $users as $index => $user ) {
foreach ( $users as $user ) {
if ( '' === get_user_meta( $user->ID, $key, true ) ) {
$debug_log .= " ($user->ID empty meta) ";
} else {
Expand Down

0 comments on commit 26fe620

Please sign in to comment.