Hide flag-submit-box for anonymous users
See original GitHub issueEnvironment:
- CTFd Version/Commit: 2.0.1 from master
- Operating System: Debian Stretch, Ubuntu 18.04, …
- Web Browser and Version: Firefox 63
What happened?
- In admin, set visibility of challenges to public
- Logout
- Open challenge view (
/challenges
) - Click on a challenge
- Box to submit flag is displayed, but not possible to submit flag
What did you expect to happen?
- …
- Open challenge view (
/challenges
) - Click on a challenge
- NO Box to submit flag is displayed
How to reproduce your issue
see above
Any associated stack traces or error logs
none
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to hide Anonymous users not to view /Forms/AllItems ...
Hi. we published a share point 2013 publishing site to internet , users can view reports pages,content pages anonymously without ...
Read more >Hide header elements for anonymous users?
Solved: I'd like to remove these elements from the Confluence header for anonymous/unregistered users: "Log in" can stay. I've looked at.
Read more >Hide From Anonymous User Macro - smartics
This is a simple macro that will reveal it's body content only to users that have themselves authenticated with the server.
Read more >Is there any SIMPLE way to hide errors ONLY for anonymous ...
The slightly adapted code to hide errors for anonymous users looks like so: function phptemplate_status_messages($display = NULL) { $output ...
Read more >How to hide Sidebar_Menu links for anonymous users?
0, I have added, just for the sake of comfortability, some admin-oriented links to the Sidebar menu, but these links appear to anonymous...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Being able to submit encourages a sign up I think 😄
So just to be clear, instead of not showing the submission box the way that we handle submissions for unauthed users is that they should be able to submit and then upon submission they get redirected to the login page.
I should have a fix for this soon.