Skip to content

Commit 1159c3b

Browse files
committed
Correct cookie name, and provide constant for insecure cookie
1 parent 40dada8 commit 1159c3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Fident.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
class Fident
99
{
10-
const JWT_COOKIE_NAME = 'fident-token-ns';
10+
const JWT_COOKIE_NAME = 'fident-token';
11+
const JWT_COOKIE_NAME_INSECURE = 'fident-token-ns';
1112

1213
/**
1314
* @var FidentConfiguration

0 commit comments

Comments
 (0)