diff options
author | Vitaly Takmazov | 2019-10-02 13:59:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-10-02 13:59:51 +0300 |
commit | 33539a3c9c8534776722aa1148499f984e0019e7 (patch) | |
tree | 6f47880a9efd4e6e240ff55c043422f68dba6936 /Juick/ViewControllers/LoginViewController.m | |
parent | d9a6f5e85d9cffed7e8bf84b6e69b27d7db67582 (diff) |
Move loginSegue to Tab bar controller
Diffstat (limited to 'Juick/ViewControllers/LoginViewController.m')
-rw-r--r-- | Juick/ViewControllers/LoginViewController.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Juick/ViewControllers/LoginViewController.m b/Juick/ViewControllers/LoginViewController.m index f9b17a3..55099eb 100644 --- a/Juick/ViewControllers/LoginViewController.m +++ b/Juick/ViewControllers/LoginViewController.m @@ -71,6 +71,7 @@ NSString * const UserSignedInNotificationName = @"UserSignedIn"; [self.navigationController dismissViewControllerAnimated:NO completion:nil]; } else { [User throwUnableToLogin:self error:error]; + [[APIClient sharedClient] setCredential:nil]; } }]; } |