This commit is contained in:
2026-09-23 20:43:55 +03:00
commit 558cae4bf5
8 changed files with 665 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# CTFd-affiliations
CTFd plugin that adds registration codes that set the user's **Affiliation**. Users who register with one of these codes cannot change their affiliation afterwards.
- The built-in CTFd Registration Code still works. Users who register with it, or with no code, get an empty affiliation they can edit.
- Admin pages are under **Admin → Plugins → CTFd Affiliations**:
- **Codes**: create, edit, disable and delete codes, with optional usage limits.
- **Users**: list the members of an affiliation, add a user by ID, or remove a user.
- If an admin changes a user's affiliation, that user is removed from the code's members.