diff --git a/src/krux/pages/login.py b/src/krux/pages/login.py index 7dd86e30..cd18f345 100644 --- a/src/krux/pages/login.py +++ b/src/krux/pages/login.py @@ -254,8 +254,10 @@ def _load_key_from_words(self, words, charset=LETTERS, new=False): from .mnemonic_editor import MnemonicEditor - mnemonic_editor = MnemonicEditor(self.ctx, mnemonic, new) - mnemonic = mnemonic_editor.edit() + # If the mnemonic is not hidden, show the mnemonic editor + if not Settings().security.hide_mnemonic: + mnemonic_editor = MnemonicEditor(self.ctx, mnemonic, new) + mnemonic = mnemonic_editor.edit() if mnemonic is None: return MENU_CONTINUE self.ctx.display.clear()