PM-1386 Fix otp data issuer and account name being set correctly (#2411)

This commit is contained in:
Federico Maccaroni 2023-03-09 15:58:16 -03:00 committed by GitHub
parent 9f8307a4ff
commit f733d22d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ namespace Bit.Core.Utilities
if (label.Contains(LABEL_SEPARATOR)) if (label.Contains(LABEL_SEPARATOR))
{ {
var parts = label.Split(LABEL_SEPARATOR); var parts = label.Split(LABEL_SEPARATOR);
AccountName = parts[0].Trim(); Issuer = parts[0].Trim();
Issuer = parts[1].Trim(); AccountName = parts[1].Trim();
} }
else else
{ {