jwt_auth_expire hook not working
-
I’ve created a function in my child theme’s functions.php file using the provided jwt_auth_expire hook in order to extend the life of auth tokens. However, my app developer is reporting that tokens are still expiring after 1 day even with the mod in place. Is this an outdated methodology? Is there another way to do this?
function test_jwt_auth_expire($issuedAt) { return $issuedAt + (DAY_IN_SECONDS * 90); } add_filter('jwt_auth_expire', 'test_jwt_auth_expire');
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘jwt_auth_expire hook not working’ is closed to new replies.