diff options
Diffstat (limited to 'lib/chessh/auth')
-rw-r--r-- | lib/chessh/auth/keys.ex | 1 | ||||
-rw-r--r-- | lib/chessh/auth/password.ex | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/chessh/auth/keys.ex b/lib/chessh/auth/keys.ex index e90f101..a29d169 100644 --- a/lib/chessh/auth/keys.ex +++ b/lib/chessh/auth/keys.ex @@ -1,6 +1,5 @@ defmodule Chessh.Auth.KeyAuthenticator do alias Chessh.{Key, Repo} - use Sshd.PublicKeyAuthenticator import Ecto.Query def authenticate(username, public_key) do diff --git a/lib/chessh/auth/password.ex b/lib/chessh/auth/password.ex index e2c26d6..8a6c683 100644 --- a/lib/chessh/auth/password.ex +++ b/lib/chessh/auth/password.ex @@ -1,7 +1,6 @@ defmodule Chessh.Auth.PasswordAuthenticator do alias Chessh.Player alias Chessh.Repo - use Sshd.PasswordAuthenticator def authenticate(username, password) do case Repo.get_by(Player, username: String.Chars.to_string(username)) do |