diff options
-rwxr-xr-x | auth.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -301,7 +301,7 @@ post["^/api/user/(%w+)/auth/([^/]+)$"] = function(info, uid, service) if user:check_token(info.form.token) == service then j.valid = true j.user = user_json(user) - j.ttl = 800 + j.ttl = 120 else j.valid = false j.ttl = 9999999 |