Skip to content

Commit

Permalink
Merge pull request #6998 from mtgred/forget-password-case-insensitive…
Browse files Browse the repository at this point in the history
…-email-check

Case insensitive email check when handling forget password
  • Loading branch information
NoahTheDuke authored Aug 8, 2023
2 parents 1500d65 + 4e4440a commit 135b751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/web/auth.clj
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

(defn find-non-banned-user
[db query]
(active-user? (mc/find-one-as-map db "users" query)))
(active-user? (find-one-as-map-case-insensitive db "users" query)))

(defn login-handler
[{db :system/db
Expand Down

0 comments on commit 135b751

Please sign in to comment.