Skip to content

Commit 7fea838

Browse files
committed
chore: commented out 2FAS import function
1 parent fed58f5 commit 7fea838

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project2FA.Shared/Models/BackupServiceEnum.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public enum BackupServiceEnum
99
None = -1,
1010
Aegis = 0,
1111
AndOTP = 1,
12-
TwoFAS = 3,
12+
//TwoFAS = 3,
1313

1414
}
1515
}

Project2FA.Shared/Services/Importer/BackupImporterService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ private async Task<string> GetFileContent(StorageFile storageFile)
8181
case BackupServiceEnum.AndOTP:
8282
(accountList, successful) = await AndOTPBackupService.ImportBackup(await GetFileContent(storageFile), Encoding.UTF8.GetBytes(password));
8383
break;
84-
case BackupServiceEnum.TwoFAS:
85-
(accountList, successful) = await TwoFASBackupImportService.ImportBackup(await GetFileContent(storageFile), Encoding.UTF8.GetBytes(password));
86-
break;
84+
//case BackupServiceEnum.TwoFAS:
85+
// (accountList, successful) = await TwoFASBackupImportService.ImportBackup(await GetFileContent(storageFile), Encoding.UTF8.GetBytes(password));
86+
// break;
8787
default:
8888
break;
8989
}

0 commit comments

Comments
 (0)