You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened?
Clicking on a hint while being signed out does absolutely nothing. This makes it seem like the website is nonfunctional.
What did you expect to happen?
Hints with no cost should be viewable without being signed in. If the hint has a cost, an error/alert telling the user to sign in should be displayed.
How to reproduce your issue
Have a CTFd instance with the challenges page public, attempt to click on a challenge hint.
The text was updated successfully, but these errors were encountered:
I thought this would be a straightforward UI change but this is actually an issue inside of the API since it needs to return hint data when users aren't authenticated. This is a bigger change than it looks so it could take some time.
yeah, for now I think a good alternative would be to simply tell the user they must be logged in to view a hint, rather than the button appearing unresponsive.
Environment:
What happened?
Clicking on a hint while being signed out does absolutely nothing. This makes it seem like the website is nonfunctional.
What did you expect to happen?
Hints with no cost should be viewable without being signed in. If the hint has a cost, an error/alert telling the user to sign in should be displayed.
How to reproduce your issue
Have a CTFd instance with the challenges page public, attempt to click on a challenge hint.
The text was updated successfully, but these errors were encountered: