aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-16 14:04:22 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-16 14:04:22 -0400
commitd12c1b590067292f0673013592602336ef3cfb90 (patch)
tree63f0126887c5741f6e58fb6760ec779dcad6b520
parent250f4e72e9169549891d303e97aec82fcc6dd5ec (diff)
downloadpython-termcast-server-d12c1b590067292f0673013592602336ef3cfb90.tar.gz
python-termcast-server-d12c1b590067292f0673013592602336ef3cfb90.zip
this is unnecessary for now
-rw-r--r--ssh.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ssh.py b/ssh.py
index 90733b3..ae83103 100644
--- a/ssh.py
+++ b/ssh.py
@@ -134,9 +134,7 @@ class Server(paramiko.ServerInterface):
return True
def check_auth_password(self, username, password):
- if password == "blah":
- return paramiko.AUTH_SUCCESSFUL
- return paramiko.AUTH_FAILED
+ return paramiko.AUTH_SUCCESSFUL
def get_allowed_auths(self, username):
return "password"