Commit 8ce39db4 authored by Dan Pascu's avatar Dan Pascu

Fixed error message

parent be2d6fb1
......@@ -364,7 +364,7 @@ class AddAccountDialog(base_class, ui_class):
self.add_status_label.value = None
# validate the create panel
if not self.name_editor.valid:
self.create_status_label.value = Status("Display name cannot be empty", color=red)
self.create_status_label.value = Status("Name cannot be empty", color=red)
elif not self.username_editor.valid:
self.create_status_label.value = Status("Username should have at least 3 characters, start with a letter or a non-zero digit and contain only letters, digits and .-_", color=red)
elif not self.new_password_editor.valid:
......
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