diff options
Diffstat (limited to 'Authentication/JWT.php')
-rw-r--r-- | Authentication/JWT.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Authentication/JWT.php b/Authentication/JWT.php index 78fe7d2..76c33bb 100644 --- a/Authentication/JWT.php +++ b/Authentication/JWT.php @@ -74,7 +74,7 @@ class JWT // Check if the nbf if it is defined. if (isset($payload->nbf) && $payload->nbf > time()) { - throw new TooEarlyException( + throw new BeforeValidException( 'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->nbf) ); } |