Skip to content

Commit

Permalink
Merge branch 'jens/oath-create-credential-regression'
Browse files Browse the repository at this point in the history
  • Loading branch information
jensutbult committed Oct 21, 2024
2 parents 44a64d8 + 7ccb522 commit 72728a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ + (NSString *)keyFromAccountName:(NSString *)name issuer:(NSString *)issuer peri
if (type == YKFOATHCredentialTypeTOTP && period != YKFOATHCredentialDefaultPeriod) {
[accountId appendFormat:@"%ld/", (unsigned long)period];
}
if (issuer != nil) {
if (issuer != nil && issuer.length > 0) {
[accountId appendFormat:@"%@:", issuer];
}
[accountId appendString:name];
Expand Down

0 comments on commit 72728a9

Please sign in to comment.