Add forgotten @ symbol to the special character list

Change-Id: I5e9f90fc965a4a421dd95295feac45bc9f430fd1
Closes-Bug: #1579754
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
This commit is contained in:
Maksim Malchuk 2016-05-09 16:31:17 +03:00
parent f4b30c916a
commit e4af61ac6d
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ class fueluser(urwid.WidgetWrap):
if re.search(r"[a-z]", password) is None:
warnings.append("one lowercase letter")
if re.search(r"[!#$%&'()*+,-./[\\\]^_`{|}~" + r'"]', password) is None:
if re.search(r"[!#$%&'()*+,-@./[\\\]^_`{|}~" + r'"]', password) \
is None:
warnings.append("one special character")
if len(errors) > 0: