jonathan-dejong / simple-jwt-authentication

Extends the WP REST API using JSON Web Tokens Authentication as an authentication method.
GNU General Public License v3.0
87 stars 25 forks source link

token_expires value #43

Closed ghost closed 5 years ago

ghost commented 5 years ago

What is the default value for the token_expires:? how can I set it to expire in hours?

ehsan680 commented 5 years ago

Default expire value is 7 days. To change its value you can use "jwt_auth_expire" hook.