File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ package : " lucia" # package name
3
+ type : " patch" # "major", "minor", "patch"
4
+ ---
5
+
6
+ Fix cookie expiration
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: "Auri"
2
2
on :
3
3
push :
4
4
branches :
5
- - main
5
+ - v3
6
6
7
7
env :
8
8
AURI_GITHUB_TOKEN : ${{secrets.AURI_GITHUB_TOKEN}}
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export class Lucia<
80
80
this . sessionCookieName = options ?. sessionCookie ?. name ?? "auth_session" ;
81
81
let sessionCookieExpiresIn = this . sessionExpiresIn ;
82
82
if ( options ?. sessionCookie ?. expires === false ) {
83
- sessionCookieExpiresIn = new TimeSpan ( 365 * 2 , "d" ) ;
83
+ sessionCookieExpiresIn = new TimeSpan ( 400 , "d" ) ;
84
84
}
85
85
const baseSessionCookieAttributes : CookieAttributes = {
86
86
httpOnly : true ,
You can’t perform that action at this time.
0 commit comments