diff options
author | Simponic <loganhunt@simponic.xyz> | 2022-12-30 05:51:47 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2022-12-30 05:51:47 -0700 |
commit | e7d8c61487815bd90ec5834dad5e6f64dd951b53 (patch) | |
tree | f882037a2820973ba6dc5f64206b01dba03266d8 /lib/chessh/auth/password.ex | |
parent | 9add1557b30c630cf45a1018cefc9a4a202db113 (diff) | |
download | chessh-e7d8c61487815bd90ec5834dad5e6f64dd951b53.tar.gz chessh-e7d8c61487815bd90ec5834dad5e6f64dd951b53.zip |
More warning squashing
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 |