Commit be326437 authored by Tobias's avatar Tobias
Browse files

explicitly remove passcode from user defaults instead of setting it to nil...

explicitly remove passcode from user defaults instead of setting it to nil when converting passcode lock to keychain
parent 63e4267a
......@@ -86,7 +86,7 @@ NSString *const VLCPasscode = @"org.videolan.vlc-ios.passcode";
APLog(@"Move passcode from setting to keychain");
[self setPasscode:passcode];
// delete passcode from old setting
[defaults setObject:nil forKey:kVLCSettingPasscodeKey];
[defaults removeObjectForKey:kVLCSettingPasscodeKey];
[defaults synchronize];
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment