Skip to content

Commit 72728a9

Browse files
committed
Merge branch 'jens/oath-create-credential-regression'
2 parents 44a64d8 + 7ccb522 commit 72728a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YubiKit/YubiKit/Connections/Shared/Sessions/OATH/YKFOATHCredentialUtils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ + (NSString *)keyFromAccountName:(NSString *)name issuer:(NSString *)issuer peri
3333
if (type == YKFOATHCredentialTypeTOTP && period != YKFOATHCredentialDefaultPeriod) {
3434
[accountId appendFormat:@"%ld/", (unsigned long)period];
3535
}
36-
if (issuer != nil) {
36+
if (issuer != nil && issuer.length > 0) {
3737
[accountId appendFormat:@"%@:", issuer];
3838
}
3939
[accountId appendString:name];

0 commit comments

Comments
 (0)