More warning squashing
This commit is contained in:
parent
9add1557b3
commit
e7d8c61487
@ -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
|
||||
|
@ -1,7 +1,7 @@
|
||||
defmodule Chessh.SSH.Cli do
|
||||
@behaviour :ssh_server_channel
|
||||
|
||||
def init() do
|
||||
def init(_args) do
|
||||
{:ok, %{}}
|
||||
end
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user