fix(backend): 招待コードが使い回せる問題を修正 (#12423)
* (fix) 招待コードを一度のみ利用できるように * Update Changelog
This commit is contained in:
parent
864827f788
commit
4a2a44831b
2 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,7 @@ export class SignupApiService {
|
|||
code: invitationCode,
|
||||
});
|
||||
|
||||
if (ticket == null) {
|
||||
if (ticket == null || ticket.usedById != null) {
|
||||
reply.code(400);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue