diff options
Diffstat (limited to 'lib/chessh/auth/password.ex')
-rw-r--r-- | lib/chessh/auth/password.ex | 1 |
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 |