More warning squashing

This commit is contained in:
Simponic 2022-12-30 05:51:47 -07:00
parent 9add1557b3
commit e7d8c61487
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1
3 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
defmodule Chessh.SSH.Cli do
@behaviour :ssh_server_channel
def init() do
def init(_args) do
{:ok, %{}}
end

View File

@ -1,5 +1,5 @@
defmodule Chessh.SSH.Daemon do
alias Chessh.{Repo, PlayerSession, Player, Utils}
alias Chessh.{Repo, PlayerSession, Utils}
alias Chessh.Auth.PasswordAuthenticator
use GenServer
import Ecto.Query