mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 14:38:35 -07:00
updated authenticator (totp)
This commit is contained in:
@@ -730,4 +730,10 @@ TotpConfigFileUpdateResult
|
||||
|
||||
totp_close_storage();
|
||||
return update_result;
|
||||
}
|
||||
}
|
||||
|
||||
void totp_config_file_reset() {
|
||||
Storage* storage = totp_open_storage();
|
||||
storage_simply_remove(storage, CONFIG_FILE_PATH);
|
||||
totp_close_storage();
|
||||
}
|
||||
|
||||
@@ -116,4 +116,9 @@ TotpConfigFileUpdateResult totp_config_file_update_user_settings(const PluginSta
|
||||
* @return Config file update result
|
||||
*/
|
||||
TotpConfigFileUpdateResult
|
||||
totp_config_file_update_crypto_signatures(const PluginState* plugin_state);
|
||||
totp_config_file_update_crypto_signatures(const PluginState* plugin_state);
|
||||
|
||||
/**
|
||||
* @brief Reset all the settings to default
|
||||
*/
|
||||
void totp_config_file_reset();
|
||||
Reference in New Issue
Block a user