mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 10:06:37 -04:00
Merge pull request #59875 from nextcloud/fix/minute-to-hour
fix(webhook-listeners): hour lifetime of tokens
This commit is contained in:
commit
31083ca489
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