fix: Rotate TOTP Secret (#1056)

Adegoke David committed Aug 23, 2023 at 00:05 UTC 43cf8a896eeac53f71b11bcd468dd453c4acbcbb
1 file changed +1 -3
lib/view_model/set_up_2fa_viewmodel.dart
+1 -3
@@ -96,9 +96,7 @@ abstract class Setup2FAViewModelBase with Store {
96
97 @action
98 void _setBase32SecretKey(String value) {
99 - if (_settingsStore.totpSecretKey == '') {
100 - _settingsStore.totpSecretKey = value;
101 - }
99 + _settingsStore.totpSecretKey = value;
100 }
101
102 @action