We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb750e6 commit 308cd03Copy full SHA for 308cd03
1 file changed
Coding_iOS/Ease_2FA/GoogleOTP/OTPAuthURL.m
@@ -225,7 +225,7 @@ - (BOOL)saveToKeychain {
225
forKey:(__bridge id)kSecAttrGeneric];
226
OSStatus status = noErr;
227
228
- if ([self isInKeychain]) {
+ if ([self isInKeychain] || self.ease_SecAttrAccount.length > 0) {
229
NSDictionary *query = @{(__bridge id)kSecClass: (__bridge id)kSecClassGenericPassword,
230
(__bridge id)kSecValuePersistentRef: self.keychainItemRef};
231
0 commit comments