diff options
Diffstat (limited to 'Volta/Views/LoginViewController.m')
| -rw-r--r-- | Volta/Views/LoginViewController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Volta/Views/LoginViewController.m b/Volta/Views/LoginViewController.m index 4f3b10a..4ae5862 100644 --- a/Volta/Views/LoginViewController.m +++ b/Volta/Views/LoginViewController.m @@ -164,7 +164,7 @@ NSLog(@"%@", JSON); // check if login was successfull - NSString *token = [JSON objectForKey:@"token"]; + NSString *token = [JSON objectForKey:@"auth_token"]; if (!token || [token isEmpty]) { [self.HUD hide:YES]; |
