📝 Link issue with TS error
This commit is contained in:
1 parent
1def2de8bb
commit
5255882898
1 file changed
+1
@@ -98,6 +98,7 @@ export const constructAuthOptions = (
|
||||
const sessionToken = generateSessionToken();
|
||||
const sessionExpiry = fromDate(sessionMaxAgeInSeconds);
|
||||
|
||||
// https://github.com/nextauthjs/next-auth/issues/6106
|
||||
if (!adapter?.createSession) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user