fix: explicitly set sids to null so the find free sid functions actually trigger
This commit is contained in:
parent
4e9c4af4a5
commit
7cb17409cd
2 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,7 @@ public class MembersController(
|
||||||
Names = req.Names ?? [],
|
Names = req.Names ?? [],
|
||||||
Pronouns = req.Pronouns ?? [],
|
Pronouns = req.Pronouns ?? [],
|
||||||
Unlisted = req.Unlisted ?? false,
|
Unlisted = req.Unlisted ?? false,
|
||||||
|
Sid = null!,
|
||||||
};
|
};
|
||||||
db.Add(member);
|
db.Add(member);
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@ public class AuthService(
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
LastActive = clock.GetCurrentInstant(),
|
LastActive = clock.GetCurrentInstant(),
|
||||||
|
Sid = null!,
|
||||||
};
|
};
|
||||||
|
|
||||||
db.Add(user);
|
db.Add(user);
|
||||||
|
@ -88,6 +89,7 @@ public class AuthService(
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
LastActive = clock.GetCurrentInstant(),
|
LastActive = clock.GetCurrentInstant(),
|
||||||
|
Sid = null!,
|
||||||
};
|
};
|
||||||
|
|
||||||
db.Add(user);
|
db.Add(user);
|
||||||
|
|
Loading…
Reference in a new issue