From 6ec90f4828621f4f61e91558d81f74d92f54fbde Mon Sep 17 00:00:00 2001 From: Semih Serhat Karakaya Date: Tue, 20 Oct 2020 13:17:05 -0700 Subject: [PATCH] expire wopi token after 10 hours as suggested in the project docs --- lib/Db/Wopi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/Wopi.php b/lib/Db/Wopi.php index e52502e9f..768421d5c 100644 --- a/lib/Db/Wopi.php +++ b/lib/Db/Wopi.php @@ -19,7 +19,7 @@ class Wopi extends \OCA\Richdocuments\Db { // Tokens expire after this many seconds (not defined by WOPI specs). - const TOKEN_LIFETIME_SECONDS = 1800; + const TOKEN_LIFETIME_SECONDS = 36000; const ATTR_CAN_VIEW = 0; const ATTR_CAN_UPDATE = 1;