forKeyPath:accepting_input_keypath];
}
+- (void) clearSensitiveInputs
+{
+ [glueController setValue:@""
+ forKeyPath:prompt_response_keypath];
+}
+
+- (void) clearAllInputs
+{
+ [glueController setValue:@""
+ forKeyPath:old_password_keypath];
+ [glueController setValue:@""
+ forKeyPath:new_password_keypath];
+ [glueController setValue:@""
+ forKeyPath:verify_password_keypath];
+ [self clearSensitiveInputs];
+}
+
- (void) showEnterIdentity: (NSWindow *) parentWindow
{
kim_error err = KIM_NO_ERROR;
forKeyPath:message_keypath];
[self hideSpinny];
+ [self clearAllInputs];
[self swapView:identityView];
[self hideSpinny];
+ [self clearSensitiveInputs];
+
switch (type) {
case kim_prompt_type_password :
[self showEnterPassword: parentWindow]; break;
[self hideSpinny];
+ if (![[self window] isVisible]) {
+ [self clearAllInputs];
+ }
+
[self swapView:changePasswordView];
[self showWithParent:parentWindow];