Skip to content

Commit 6615207

Browse files
committed
Get rid of legacy config field
1 parent 95207e1 commit 6615207

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/auth/auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class AuthService {
5959
async logout(req: Request) {
6060
const logoutURL = this.configService.get<string>("logoutURL") || "";
6161
const expressSessionSecret = this.configService.get<string>(
62-
"expressSessionSecret",
62+
"expressSession.secret",
6363
);
6464

6565
const logoutResult = await this.additionalLogoutTasks(req, logoutURL);

src/config/configuration.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ const configuration = () => {
186186
secret: process.env.EXPRESS_SESSION_SECRET,
187187
store: process.env.EXPRESS_SESSION_STORE,
188188
},
189-
expressSessionSecret: process.env.EXPRESS_SESSION_SECRET,
190189
functionalAccounts: [],
191190
httpMaxRedirects: process.env.HTTP_MAX_REDIRECTS ?? 5,
192191
httpTimeOut: process.env.HTTP_TIMEOUT ?? 5000,

0 commit comments

Comments
 (0)