summaryrefslogtreecommitdiff
path: root/lib/chessh/auth
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2022-12-21 14:05:10 -0700
committerSimponic <loganhunt@simponic.xyz>2022-12-21 14:05:10 -0700
commitb18899ffaffad71a2b2f8783d97bcab876ab22a1 (patch)
tree0525fb840fc1e066c06c8775ab57535ea9f5ba9e /lib/chessh/auth
parent90c62c2fe0f903c7a9b0eb3d8d35f0b801de5299 (diff)
downloadchessh-b18899ffaffad71a2b2f8783d97bcab876ab22a1.tar.gz
chessh-b18899ffaffad71a2b2f8783d97bcab876ab22a1.zip
Add make_keys script
Diffstat (limited to 'lib/chessh/auth')
-rw-r--r--lib/chessh/auth/keys.ex4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chessh/auth/keys.ex b/lib/chessh/auth/keys.ex
index a948fdf..e90f101 100644
--- a/lib/chessh/auth/keys.ex
+++ b/lib/chessh/auth/keys.ex
@@ -1,8 +1,6 @@
defmodule Chessh.Auth.KeyAuthenticator do
- alias Chessh.Key
- alias Chessh.Repo
+ alias Chessh.{Key, Repo}
use Sshd.PublicKeyAuthenticator
- require Logger
import Ecto.Query
def authenticate(username, public_key) do