summaryrefslogtreecommitdiff
path: root/lib/chessh/auth/password.ex
diff options
context:
space:
mode:
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