Files
2026-09-23 20:43:55 +03:00

651 B

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.