1
0

kivy: handle 2FA seeds

This commit is contained in:
ThomasV
2016-09-28 12:48:46 +02:00
parent 06c68a4be1
commit 827d928aaa
2 changed files with 8 additions and 4 deletions

View File

@@ -275,8 +275,12 @@ class BaseWizard(object):
elif seed_type == 'old':
self.run('create_keystore', seed, passphrase)
elif seed_type == '2fa':
self.load_2fa()
self.run('on_restore_seed', seed)
if self.is_kivy:
self.show_error('2FA seeds are not supported in this version')
self.run('restore_from_seed')
else:
self.load_2fa()
self.run('on_restore_seed', seed)
else:
raise