mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 09:46:19 +01:00
📝 Link issue with TS error
This commit is contained in:
@@ -98,6 +98,7 @@ export const constructAuthOptions = (
|
|||||||
const sessionToken = generateSessionToken();
|
const sessionToken = generateSessionToken();
|
||||||
const sessionExpiry = fromDate(sessionMaxAgeInSeconds);
|
const sessionExpiry = fromDate(sessionMaxAgeInSeconds);
|
||||||
|
|
||||||
|
// https://github.com/nextauthjs/next-auth/issues/6106
|
||||||
if (!adapter?.createSession) {
|
if (!adapter?.createSession) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user