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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)