Skip to content
Snippets Groups Projects
Commit 39adc4a2 authored by Anael Beutot's avatar Anael Beutot
Browse files

Simpler error message for password administration

The "Aborted" was redondant since we already know there was an error.
parent 4d1238b8
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ class Command_passwd(TqlCommand):
_pass = self.printer.getpass("Password: ")
_check = self.printer.getpass("Again: ")
if _pass != _check:
raise cmdError("You don't type twice the same password. Aborted")
raise cmdError("Password mismatch")
# execute command
self.rpccall("passwd", _tql, _pass)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment