forked from organicmaps/organicmaps
[iOS] Fixed logout action
Signed-off-by: S. Kozyr <s.trump@gmail.com>
This commit is contained in:
parent
98e2e328b5
commit
75851f8785
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ BOOL AuthorizationHaveCredentials()
|
|||
void AuthorizationClearCredentials()
|
||||
{
|
||||
NSUserDefaults * ud = NSUserDefaults.standardUserDefaults;
|
||||
[ud removeObjectForKey:kOSMAuthToken];
|
||||
[ud removeObjectForKey:kOSMRequestToken];
|
||||
[ud removeObjectForKey:kOSMRequestSecret];
|
||||
[ud removeObjectForKey:kOSMUserName];
|
||||
|
|
Loading…
Add table
Reference in a new issue