We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb83a27 commit fd54399Copy full SHA for fd54399
src/Phalcon/Auth/Auth.php
@@ -57,7 +57,7 @@ public function check(TokenGetter $parser, string $key) : bool
57
}
58
59
$payload = $this->decode($token, $key);
60
- if(!$payload) {
+ if(!$payload || empty($payload)) {
61
return false;
62
63
0 commit comments