mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(webhook-listeners): hour lifetime of tokens
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
This commit is contained in:
parent
a3e6ea0e83
commit
aded96fff7
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ use Psr\Log\LoggerInterface;
|
|||
|
||||
class EphemeralTokenMapper extends QBMapper {
|
||||
public const TABLE_NAME = 'webhook_tokens';
|
||||
public const TOKEN_LIFETIME = 1 * 1 * 60; // one hour in seconds
|
||||
public const TOKEN_LIFETIME = 1 * 60 * 60; // one hour in seconds
|
||||
|
||||
public function __construct(
|
||||
IDBConnection $db,
|
||||
|
|
|
|||
Loading…
Reference in a new issue