[auth] Support for importing auth code from steam

This commit is contained in:
Neeraj Gupta 2024-06-03 14:19:30 +05:30
parent 741018b802
commit ad0069087f

View File

@ -89,7 +89,6 @@ Future<int?> _processBitwardenExportFile(
if (totp.contains("otpauth://")) {
code = Code.fromOTPAuthUrl(totp);
} else if (totp.contains("steam://")) {
// "totp": "steam://AAABBBCCCDDDEEEFFF"
var secret = totp.split("steam://")[1];
code = Code.fromAccountAndSecret(
Type.steam,