Advertisement
Guest User

Untitled

a guest
Feb 26th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. diff --git a/web/router.ex b/web/router.ex
  2. index 422ddd7..c4c6c94 100644
  3. --- a/web/router.ex
  4. +++ b/web/router.ex
  5. @@ -7,6 +7,7 @@ defmodule BasicAuthExercise.Router do
  6. plug :fetch_flash
  7. plug :protect_from_forgery
  8. plug :put_secure_browser_headers
  9. + plug BasicAuth, username: "user", password: "secret"
  10. end
  11.  
  12. pipeline :api do
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement