mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
fix: Rotate TOTP Secret (#1056)
This commit is contained in:
parent
ee586ab514
commit
43cf8a896e
1 changed files with 1 additions and 3 deletions
|
@ -96,10 +96,8 @@ 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
|
||||||
void clearBase32SecretKey() {
|
void clearBase32SecretKey() {
|
||||||
|
|
Loading…
Reference in a new issue