summaryrefslogtreecommitdiff
path: root/lib/auth/password.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth/password.ex')
-rw-r--r--lib/auth/password.ex7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/auth/password.ex b/lib/auth/password.ex
new file mode 100644
index 0000000..5e31b33
--- /dev/null
+++ b/lib/auth/password.ex
@@ -0,0 +1,7 @@
+defmodule Chessh.Auth.PasswordAuthenticator do
+ use Sshd.PasswordAuthenticator
+
+ def authenticate(_username, _password) do
+ true
+ end
+end