Closed woylie closed 4 years ago
I just ran the generator in an existing project. Before, my browser pipeline in the router looked like this:
pipeline :browser do ... plug :put_secure_browser_headers, %{"content-security-policy" => @csp} end
The generator put the options for put_secure_browser_headers behind fetch_current_user:
put_secure_browser_headers
fetch_current_user
pipeline :browser do ... plug :put_secure_browser_headers plug :fetch_current_user, %{"content-security-policy" => @csp} end
Thanks for reporting this! I just pushed a fix to master.
I just ran the generator in an existing project. Before, my browser pipeline in the router looked like this:
The generator put the options for
put_secure_browser_headers
behindfetch_current_user
: