Skip to content

Commit

Permalink
increased Coterm session token lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwang401 committed Dec 13, 2023
1 parent 6138701 commit 32419a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ This file is a running track of new features and fixes to each version of the pa

This project follows [Semantic Versioning](http://semver.org) guidelines.

## v4.0.0

### Changes

- Removed API request throttling
- Increased Coterm session token lifetime from 30 seconds to a minute.

## v4.0.0-rc.1

If you use Convoy for a production or commercial environment/purpose, please subscribe to a
Expand Down
2 changes: 1 addition & 1 deletion app/Services/Coterm/CotermJWTService.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function handle(Server $server, User $user, ConsoleType $consoleType): Pl
);

$token = $this->JWTService
->setExpiresAt(CarbonImmutable::now()->addSeconds(30))
->setExpiresAt(CarbonImmutable::now()->addMinute())
->setUser($user)
->setClaims([
'server_uuid' => $server->uuid,
Expand Down

0 comments on commit 32419a8

Please sign in to comment.