mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
auth log3
This commit is contained in:
parent
84950c7413
commit
2374c09915
@ -78,7 +78,7 @@ export const authOptions: NextAuthOptions = {
|
|||||||
// Extend session object here
|
// Extend session object here
|
||||||
session.user = {
|
session.user = {
|
||||||
...session.user,
|
...session.user,
|
||||||
id: token.sub,
|
id: userId,
|
||||||
};
|
};
|
||||||
|
|
||||||
return session;
|
return session;
|
||||||
|
Loading…
Reference in New Issue
Block a user