Skip to content

Commit

Permalink
[phalcon#16115] - correcting method call in token validate
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Sep 23, 2022
1 parent 1f59b63 commit 25949bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/Encryption/Security/JWT/Token/Token.zep
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Token
"validateNotBefore" : Enum::NOT_BEFORE
];

for claimId, method in methods {
for method, claimId in methods {
validator->{method}(this->claims->get(claimId));
}

Expand Down

0 comments on commit 25949bf

Please sign in to comment.