summaryrefslogtreecommitdiffstats
path: root/textw/userauth_text.py
diff options
context:
space:
mode:
Diffstat (limited to 'textw/userauth_text.py')
-rw-r--r--textw/userauth_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/userauth_text.py b/textw/userauth_text.py
index 466f336f6..5a7a2e776 100644
--- a/textw/userauth_text.py
+++ b/textw/userauth_text.py
@@ -18,7 +18,7 @@ import iutil
from flags import flags
def has_bad_chars(pw):
- allowed = string.digits + string.ascii_letters + string.punctuation
+ allowed = string.digits + string.ascii_letters + string.punctuation + " "
for letter in pw:
if letter not in allowed:
return 1