Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/web/router.ex b/web/router.ex
- index 422ddd7..c4c6c94 100644
- --- a/web/router.ex
- +++ b/web/router.ex
- @@ -7,6 +7,7 @@ defmodule BasicAuthExercise.Router do
- plug :fetch_flash
- plug :protect_from_forgery
- plug :put_secure_browser_headers
- + plug BasicAuth, username: "user", password: "secret"
- end
- pipeline :api do
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement