Skip to content

Flash notice suggestion to enable cookies

Alex edited this page May 7, 2015 · 1 revision

We had a line for hinting at enabling cookies:

# app/controllers/accounts_controllers.rb
  response_for :create_fails do
    flash.now[:error] = "Sorry, to log into the Black Duck Open Hub, you must enable cookies in your browser." if request.cookies["_openhub_session"].blank?
  ...

This was introduced in 6eebf59b. We can safely assume that current OpenHub users would have their cookies enabled.