Commit f6eebd0f1fd28a999db505de8285a128efebb711

Thomas de Grivel 2022-01-16T08:58:39

fix warnings

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kmxgit_web/controllers/user_session_controller.ex b/lib/kmxgit_web/controllers/user_session_controller.ex
index 7713644..6e77057 100644
--- a/lib/kmxgit_web/controllers/user_session_controller.ex
+++ b/lib/kmxgit_web/controllers/user_session_controller.ex
@@ -9,7 +9,7 @@ defmodule KmxgitWeb.UserSessionController do
     render(conn, "new.html", error_message: nil)
   end
 
-  def create(conn, params = %{"user" => user_params}) do
+  def create(conn, %{"user" => user_params}) do
     user_id = conn |> get_session(:check_totp_for)
     user = if user_id do
       {id, ""} = Integer.parse(user_id)