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 5907311 commit 0313e29Copy full SHA for 0313e29
src/auth/entries/account/account.ts
@@ -99,6 +99,7 @@ export const account = new EntryType<Account>("account", {
99
handler({ account }) {
100
const userIds = new Set<string>();
101
for (const { user, user__title } of account.users.data) {
102
+ if (!user) continue; // Skip if user is not set
103
if (userIds.has(user)) {
104
raiseORMException(
105
`User with ID ${user} is already associated with this account.`,
0 commit comments