From e7d8c61487815bd90ec5834dad5e6f64dd951b53 Mon Sep 17 00:00:00 2001 From: Simponic Date: Fri, 30 Dec 2022 05:51:47 -0700 Subject: More warning squashing --- lib/chessh/auth/password.ex | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/chessh/auth') 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 -- cgit v1.2.3-70-g09d2