Skip to content

Commit 2bd7deb

Browse files
Update backend/src/controllers/authController.ts
Co-authored-by: Copilot <[email protected]>
1 parent 081f0e9 commit 2bd7deb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backend/src/controllers/authController.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ export const oauthCallback = async (
144144
}
145145

146146
const typedFoundUser = asTypedUser(foundUser);
147-
await typedFoundUser.save();
148147

149148
// We send tokens the same way, but redirect the user
150149
const accessToken = generateAccessToken(typedFoundUser._id.toString());

0 commit comments

Comments
 (0)