Skip to content

Allow for generic usage of the Unlocks API to support solutions unlocking#29

Merged
ColdHeat merged 1 commit intomainfrom
generic-unlocks
Jul 28, 2025
Merged

Allow for generic usage of the Unlocks API to support solutions unlocking#29
ColdHeat merged 1 commit intomainfrom
generic-unlocks

Conversation

@ColdHeat
Copy link
Member

@ColdHeat ColdHeat commented Jul 28, 2025

  • CTFd.pages.challenge.loadUnlock now has a second argument that specifies the target's type (defaults to hints)
  • Added CTFd.pages.challenge.displayHintUnlock
  • Added CTFd.pages.challenge.displaySolutionUnlock
  • Deprecated CTFd.pages.challenge.displayUnlock
  • Fixed issues with CTFd.pages.challenge.displaySolution and CTFd.pages.challenge.displayHint

@ColdHeat ColdHeat merged commit 8056b6d into main Jul 28, 2025
1 check passed
@ColdHeat ColdHeat deleted the generic-unlocks branch July 28, 2025 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant