apps.homescreen: handle Ping.passphrase_protection

pull/25/head
Jan Pochyla 8 years ago
parent 059315feb4
commit 5da3e67a0c

@ -38,9 +38,12 @@ async def respond_Pong(session_id, msg):
from apps.common.request_pin import protect_by_pin
await protect_by_pin(session_id)
if msg.passphrase_protection:
from apps.common.request_passphrase import protect_by_passphrase
await protect_by_passphrase(session_id)
# TODO: handle other fields:
# button_protection
# passphrase_protection
return s

Loading…
Cancel
Save