From ebfa66e55dff62bf2c2d449e1534c216e429d730 Mon Sep 17 00:00:00 2001 From: Jesse Cooke <18191+jc00ke@users.noreply.github.com> Date: Wed, 20 Mar 2024 15:53:17 -0700 Subject: [PATCH] Very minor typo (#1213) --- lib/plug/basic_auth.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plug/basic_auth.ex b/lib/plug/basic_auth.ex index 3ca82959..f5ec9be2 100644 --- a/lib/plug/basic_auth.ex +++ b/lib/plug/basic_auth.ex @@ -38,7 +38,7 @@ defmodule Plug.BasicAuth do plug :auth - defp auth(conn, opts) do + defp auth(conn, _opts) do username = System.fetch_env!("AUTH_USERNAME") password = System.fetch_env!("AUTH_PASSWORD") Plug.BasicAuth.basic_auth(conn, username: username, password: password)