Commit 516e7727 authored by Nicolas Wavrant's avatar Nicolas Wavrant

shellinabox : now modified to auto-connect if no password is defined

in the buildout section
parent 1acff275
......@@ -34,7 +34,11 @@ from slapos.recipe.librecipe import GenericBaseRecipe
def login_shell(args):
password = args['password']
entered_password = getpass()
if (password != ''):
entered_password = getpass()
else:
entered_password = ''
if entered_password != password:
return 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment