Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin controller: Why is the dev/test environment different from production? #206

Open
jhsu802701 opened this issue Feb 5, 2019 · 1 comment

Comments

@jhsu802701
Copy link
Contributor

In src/app/controllers/admin/admin_controller.rb, I see that authentication is required to access admin actions in the production environment but not in the development and testing environments. Why don't the development and test environments have the same restriction? This production-only restriction is untested.

@look
Copy link
Member

look commented Feb 6, 2019

I think this was mostly so you don't have to type in the password to test the admin in development mode.

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

No branches or pull requests

2 participants