Commit d1fa28d5 authored by Elena Grandi's avatar Elena Grandi
Browse files

Stop if the password is invalid and needs to be changed.

parent 74c818b6
......@@ -263,6 +263,8 @@ class Configuration(object):
forbiddenchars = set('$\/&')
if any((c in forbiddenchars) for c in value):
logging.warning("password must not contain &, \\, /, or $")
logging.error("Cambiare la password con mpwchange prima di proseguire con fuss-server upgrade")
sys.exit(1)
return False
else:
return True
......
fuss-server (8.0.49) unstable; urgency=medium
* Stop if the password is invalid and needs to be changed.
-- Elena Grandi <elena@truelite.it> Thu, 01 Apr 2021 11:35:00 +0200
fuss-server (8.0.48) unstable; urgency=medium
[ Simone Piccardi ]
......
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