Skip to content

Commit a7a7781

Browse files
janepiebackportbot[bot]
authored andcommitted
fix(webhook-listeners): hour lifetime of tokens
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
1 parent d443b3d commit a7a7781

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webhook_listeners/lib/Db/EphemeralTokenMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
class EphemeralTokenMapper extends QBMapper {
2727
public const TABLE_NAME = 'webhook_tokens';
28-
public const TOKEN_LIFETIME = 1 * 1 * 60; // one hour in seconds
28+
public const TOKEN_LIFETIME = 1 * 60 * 60; // one hour in seconds
2929

3030
public function __construct(
3131
IDBConnection $db,

0 commit comments

Comments
 (0)