apps.homescreen: handle Ping.passphrase_protection

This commit is contained in:
Jan Pochyla 2017-01-24 14:11:03 +01:00
parent 059315feb4
commit 5da3e67a0c
1 changed files with 4 additions and 1 deletions

View File

@ -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