Skip to content
Snippets Groups Projects
Unverified Commit 4a2a4483 authored by かっこかり's avatar かっこかり Committed by GitHub
Browse files

fix(backend): 招待コードが使い回せる問題を修正 (#12423)

* (fix) 招待コードを一度のみ利用できるように

* Update Changelog
parent 864827f7
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@
- Fix: 時間経過により無効化されたアンテナを再有効化したとき、サーバ再起動までその状況が反映されないのを修正 #12303
- Fix: ロールタイムラインが保存されない問題を修正
- Fix: api.jsonの生成ロジックを改善 #12402
- Fix: 招待コードが使い回せる問題を修正
## 2023.11.1
......
......@@ -126,7 +126,7 @@ export class SignupApiService {
code: invitationCode,
});
if (ticket == null) {
if (ticket == null || ticket.usedById != null) {
reply.code(400);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment