Skip to content

Commit

Permalink
Merge branch 'case-insensitive-email' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
macifell committed Jan 17, 2024
2 parents d883b48 + 6f5908f commit 5a88edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recognizer_web/controllers/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule RecognizerWeb.Controllers.Helpers do
import Plug.Conn, only: [get_session: 2, assign: 3]

def get_email_from_request(conn) do
conn.params["user"]["email"]
String.downcase(conn.params["user"]["email"] || "")
end

def get_user_id_from_request(conn) do
Expand Down

0 comments on commit 5a88edb

Please sign in to comment.