We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 932007a commit 0cc199cCopy full SHA for 0cc199c
src/packages/server/accounts/set-email-address.ts
@@ -72,7 +72,7 @@ export default async function setEmailAddress(
72
// user has no password set, so we can set it – but not the email address
73
if (!password_hash) {
74
await pool.query(
75
- "UPDATE accounts SET password_hash=$1, WHERE account_id=$2",
+ "UPDATE accounts SET password_hash=$1 WHERE account_id=$2",
76
[passwordHash(password), account_id]
77
);
78
}
0 commit comments