summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/LoginViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/ViewControllers/LoginViewController.m')
-rw-r--r--Juick/ViewControllers/LoginViewController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Juick/ViewControllers/LoginViewController.m b/Juick/ViewControllers/LoginViewController.m
index d3d1edc..640cd10 100644
--- a/Juick/ViewControllers/LoginViewController.m
+++ b/Juick/ViewControllers/LoginViewController.m
@@ -10,6 +10,7 @@
#import "User.h"
#import "ColorScheme.h"
#import "AppDelegate.h"
+#import "APIClient.h"
@implementation LoginViewController
@@ -70,7 +71,7 @@
[self.navigationController.view.layer addAnimation:transition forKey:kCATransition];
[self.navigationController popToRootViewControllerAnimated:NO];
} else {
- [User throwUnableToLogin];
+ [User throwUnableToLogin:self];
}
}];