Commit 461b5121f38f8dcfec6db9c439a176be1ea9253f
1 parent
c6065999
Exists in
master
and in
2 other branches
Removing useless patch
Showing
1 changed file
with
0 additions
and
23 deletions
Show diff stats
new-login.patch
@@ -1,23 +0,0 @@ | @@ -1,23 +0,0 @@ | ||
1 | -commit ba284fcd8361ddd9934acd87b81c107e0e6e5b8e | ||
2 | -Author: Caio SBA <caiosba@gmail.com> | ||
3 | -Date: Mon Sep 28 11:27:49 2015 -0300 | ||
4 | - | ||
5 | - Fixing login | ||
6 | - | ||
7 | -diff --git a/www/js/controllers.js b/www/js/controllers.js | ||
8 | -index ff5fd08..d17a203 100644 | ||
9 | ---- a/www/js/controllers.js | ||
10 | -+++ b/www/js/controllers.js | ||
11 | -@@ -121,10 +121,10 @@ angular.module('confjuvapp.controllers', []) | ||
12 | - .then(function(resp) { | ||
13 | - $scope.closeModal(); | ||
14 | - var popup = $ionicPopup.alert({ title: 'Login', template: 'Login efetuado com sucesso!' }); | ||
15 | -- $scope.profile = resp.data.person; | ||
16 | -+ $scope.profile = resp.data.user.person; | ||
17 | - $scope.setStateAndCityOfProfile(); | ||
18 | - popup.then(function() { | ||
19 | -- $scope.loginCallback(resp.data.private_token); | ||
20 | -+ $scope.loginCallback(resp.data.user.private_token); | ||
21 | - }); | ||
22 | - }, function(err) { | ||
23 | - $scope.closeModal(); |