How To Expire Token time change
-
Hi i want to change the “jwt_auth_expire” time and i used below code to change the time
add_filter('jwt_auth_expire', 'on_jwt_expire_token',10,1);
function on_jwt_expire_token($exp){
$days = 1;
$exp = time() + (86400 * 0);
return $exp;
}but its’ not working so how can i change the token expire default time also i want to expire token forcefully so how can i do this
Thanks.
- The topic ‘How To Expire Token time change’ is closed to new replies.