From 461b5121f38f8dcfec6db9c439a176be1ea9253f Mon Sep 17 00:00:00 2001 From: Caio SBA Date: Mon, 28 Sep 2015 13:32:56 -0300 Subject: [PATCH] Removing useless patch --- new-login.patch | 23 ----------------------- 1 file changed, 0 insertions(+), 23 deletions(-) delete mode 100644 new-login.patch diff --git a/new-login.patch b/new-login.patch deleted file mode 100644 index 51e4d16..0000000 --- a/new-login.patch +++ /dev/null @@ -1,23 +0,0 @@ -commit ba284fcd8361ddd9934acd87b81c107e0e6e5b8e -Author: Caio SBA -Date: Mon Sep 28 11:27:49 2015 -0300 - - Fixing login - -diff --git a/www/js/controllers.js b/www/js/controllers.js -index ff5fd08..d17a203 100644 ---- a/www/js/controllers.js -+++ b/www/js/controllers.js -@@ -121,10 +121,10 @@ angular.module('confjuvapp.controllers', []) - .then(function(resp) { - $scope.closeModal(); - var popup = $ionicPopup.alert({ title: 'Login', template: 'Login efetuado com sucesso!' }); -- $scope.profile = resp.data.person; -+ $scope.profile = resp.data.user.person; - $scope.setStateAndCityOfProfile(); - popup.then(function() { -- $scope.loginCallback(resp.data.private_token); -+ $scope.loginCallback(resp.data.user.private_token); - }); - }, function(err) { - $scope.closeModal(); -- libgit2 0.21.2