Skip to content

Commit 776dc3d

Browse files
committed
🚧WIP
1 parent 32dbdd3 commit 776dc3d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
},
9191
"pnpm": {
9292
"onlyBuiltDependencies": [
93+
"@tailwindcss/oxide",
9394
"esbuild"
9495
]
9596
}

src/routes/(auth)/login/+page.server.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ const login: Action = async (event) => {
6060
);
6161
}
6262

63-
if (!user.hashedPassword && user.googleId) {
63+
console.log(user);
64+
65+
if (password && !user.hashedPassword && user.googleId) {
66+
console.log('registered with different method');
6467
return setFormError(
6568
form,
6669
m.auth.login.registeredWithDifferentMethod,

0 commit comments

Comments
 (0)