Skip to content
Snippets Groups Projects
Commit 5bcd970f authored by inso's avatar inso
Browse files

Fix issue #472

parent 7270c488
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,9 @@ class StepPageKey(Step):
super().__init__(config_dialog)
def is_valid(self):
if self.config_dialog.app.preferences['expert_mode']:
return True
if len(self.config_dialog.edit_salt.text()) < 6:
self.config_dialog.label_info.setText(self.config_dialog.tr("Forbidden : salt is too short"))
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment