firebase / php-jwt

PHP package for JWT
BSD 3-Clause "New" or "Revised" License
9.3k stars 1.26k forks source link

fix: BeforeValidException message for decode #526

Closed vishwarajanand closed 1 year ago

vishwarajanand commented 1 year ago

Addresses https://github.com/firebase/php-jwt/issues/514

BEGIN_COMMIT_OVERRIDE fix: different BeforeValidException messages for nbf and iat (#526) END_COMMIT_OVERRIDE

bshaffer commented 1 year ago

@vishwarajanand as there is no "bug" here, this should be considered a "chore" instead of a "fix"

Now I see that this is to differentiate between iat and nbf, not just to add a better exception message. My mistake, I agree now that it is a fix!