Fix typo
parent
5ad3355f89
commit
9326d96c54
|
@ -20,7 +20,7 @@ def check_channel_shell_request(self, channel):
|
||||||
|
|
||||||
|
|
||||||
def check_auth_none(self, username):
|
def check_auth_none(self, username):
|
||||||
if username == os.environ["ssh-username"]:
|
if username == os.environ["SSH_USERNAME"]:
|
||||||
return paramiko.AUTH_PARTIALLY_SUCCESSFUL
|
return paramiko.AUTH_PARTIALLY_SUCCESSFUL
|
||||||
return paramiko.AUTH_FAILED
|
return paramiko.AUTH_FAILED
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue