Skip to content

Commit fe8035e

Browse files
committed
fix short jwt secret causing an exception
1 parent 75b3220 commit fe8035e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Config/api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
'Jwt' => [
5050
'AccessToken' => [
5151
'lifetime' => 600,
52-
'secret' => 'secret',
52+
'secret' => 'this is a long secret, that must be longer than 512 bits if not an exception will be thrown',
5353
],
5454
'RefreshToken' => [
5555
'lifetime' => 14 * 86400,
56-
'secret' => 'secret',
56+
'secret' => 'this is a long secret, that must be longer than 512 bits if not an exception will be thrown',
5757
],
5858
],
5959

0 commit comments

Comments
 (0)