Enable import for 2fas v4 (#372)
This commit is contained in:
parent
ca46765760
commit
cf6b4f5423
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ Future<int?> _process2FasExportFile(
|
|||
final jsonString = await file.readAsString();
|
||||
final decodedJson = jsonDecode(jsonString);
|
||||
int version = (decodedJson['schemaVersion'] ?? 0) as int;
|
||||
if (version != 3) {
|
||||
if (version != 3 && version != 4) {
|
||||
await dialog.hide();
|
||||
// todo: extract strings for l10n. Use same naming format as in aegis
|
||||
// to avoid duplicate translation efforts.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: ente_auth
|
||||
description: ente two-factor authenticator
|
||||
version: 2.0.24+224
|
||||
version: 2.0.25+225
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue