pboling / rack-insight

Debugging toolbar for Rack applications implemented as middleware
http://railsbling.com/retired_projects/rack-insight/
MIT License
152 stars 22 forks source link

Password is ignored to enable toolbar #24

Closed dunric closed 10 years ago

dunric commented 10 years ago

Update: I'm sorry, mistaken secret_key (a hash source) with password option. Forget the report bellow.


Hi,

just figured out although I do have set secret_key in config/environments/development.rb

# Rack-Insight
 config.middleware.use "Rack::Insight::App",
   secret_key: "mypassword"

authorization is completely ignored. If I do invoke secret key dialog I can enter whatever mix of chars or even leave blank but password is accepted and toolbar rendered.