mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
fix: Rotate TOTP Secret (#1056)
This commit is contained in:
@@ -96,9 +96,7 @@ abstract class Setup2FAViewModelBase with Store {
|
|||||||
|
|
||||||
@action
|
@action
|
||||||
void _setBase32SecretKey(String value) {
|
void _setBase32SecretKey(String value) {
|
||||||
if (_settingsStore.totpSecretKey == '') {
|
_settingsStore.totpSecretKey = value;
|
||||||
_settingsStore.totpSecretKey = value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|||||||
Reference in New Issue
Block a user