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 ?? [],
|
||||
Pronouns = req.Pronouns ?? [],
|
||||
Unlisted = req.Unlisted ?? false,
|
||||
Sid = null!,
|
||||
};
|
||||
db.Add(member);
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ public class AuthService(
|
|||
},
|
||||
},
|
||||
LastActive = clock.GetCurrentInstant(),
|
||||
Sid = null!,
|
||||
};
|
||||
|
||||
db.Add(user);
|
||||
|
@ -88,6 +89,7 @@ public class AuthService(
|
|||
},
|
||||
},
|
||||
LastActive = clock.GetCurrentInstant(),
|
||||
Sid = null!,
|
||||
};
|
||||
|
||||
db.Add(user);
|
||||
|
|
Loading…
Reference in a new issue