forked from mirrors/linphone-iphone
reset username passwd pref if login failed
This commit is contained in:
parent
1e165e19aa
commit
031219486b
1 changed files with 3 additions and 1 deletions
|
|
@ -97,7 +97,9 @@
|
|||
cancelButtonTitle:@"Continue"
|
||||
otherButtonTitles:nil ,nil];
|
||||
[error show];
|
||||
|
||||
//erase uername passwd
|
||||
[[NSUserDefaults standardUserDefaults] removeObjectForKey:@"username_preference"];
|
||||
[[NSUserDefaults standardUserDefaults] removeObjectForKey:@"password_preference"];
|
||||
}
|
||||
-(void) displayNotRegisteredFromUI:(UIViewController*) viewCtrl {
|
||||
[self.activityIndicator setHidden:true];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue