summaryrefslogtreecommitdiff
path: root/lib/chessh/auth/password.ex
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2022-12-30 05:51:47 -0700
committerSimponic <loganhunt@simponic.xyz>2022-12-30 05:51:47 -0700
commite7d8c61487815bd90ec5834dad5e6f64dd951b53 (patch)
treef882037a2820973ba6dc5f64206b01dba03266d8 /lib/chessh/auth/password.ex
parent9add1557b30c630cf45a1018cefc9a4a202db113 (diff)
downloadchessh-e7d8c61487815bd90ec5834dad5e6f64dd951b53.tar.gz
chessh-e7d8c61487815bd90ec5834dad5e6f64dd951b53.zip
More warning squashing
Diffstat (limited to 'lib/chessh/auth/password.ex')
-rw-r--r--lib/chessh/auth/password.ex1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chessh/auth/password.ex b/lib/chessh/auth/password.ex
index a01291d..0986169 100644
--- a/lib/chessh/auth/password.ex
+++ b/lib/chessh/auth/password.ex
@@ -8,7 +8,6 @@ defmodule Chessh.Auth.PasswordAuthenticator do
def authenticate(username, password) do
case Repo.get_by(Player, username: username) do
player -> authenticate(player, password)
- nil -> false
end
end
end