fix: Rotate TOTP Secret (#1056)

This commit is contained in:
Adegoke David
2023-08-23 02:05:48 +03:00
committed by GitHub
parent ee586ab514
commit 43cf8a896e
+1 -3
View File
@@ -96,9 +96,7 @@ abstract class Setup2FAViewModelBase with Store {
@action
void _setBase32SecretKey(String value) {
if (_settingsStore.totpSecretKey == '') {
_settingsStore.totpSecretKey = value;
}
_settingsStore.totpSecretKey = value;
}
@action