Skip to content

Commit

Permalink
Fixed #178 (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
akopachov committed Aug 1, 2023
1 parent a9de233 commit 1b3e5d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ofwcatalog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## v3.2.0 - 2 Aug 2023

* Implemented [#177](https://github.com/akopachov/flipper-zero_authenticator/issues/177)
* Fixed [#178](https://github.com/akopachov/flipper-zero_authenticator/issues/178)
* Refactoring

## v3.1.0 - 31 Jul 2023
Expand Down
5 changes: 5 additions & 0 deletions totp_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ static bool totp_activate_initial_scene(PluginState* const plugin_state) {
DialogMessageButton dialog_result =
dialog_message_show(plugin_state->dialogs_app, message);
dialog_message_free(message);
if(!totp_crypto_check_key_slot(plugin_state->crypto_key_slot)) {
totp_dialogs_config_loading_error(plugin_state);
return false;
}

if(dialog_result == DialogMessageButtonRight) {
totp_scene_director_activate_scene(plugin_state, TotpSceneAuthentication);
} else {
Expand Down

0 comments on commit 1b3e5d8

Please sign in to comment.