Commit 73beb56ddf23239aa22cbe18073d284299f23b8f

Authored by Caio Almeida
1 parent 9876363e

Showing message to ask the user to activate the account before logging in

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
ConfJuvApp/www/js/controllers.js
@@ -164,7 +164,7 @@ angular.module('confjuvapp.controllers', []) @@ -164,7 +164,7 @@ angular.module('confjuvapp.controllers', [])
164 164
165 $http.post(ConfJuvAppUtils.pathTo('register'), jQuery.param(params), config) 165 $http.post(ConfJuvAppUtils.pathTo('register'), jQuery.param(params), config)
166 .then(function(resp) { 166 .then(function(resp) {
167 - var popup = $ionicPopup.alert({ title: 'Registrar', template: 'Usuário registrado com sucesso!' }); 167 + var popup = $ionicPopup.alert({ title: 'Registrar', template: 'Registro feito! Um e-mail de ativação foi enviado para o endereço fornecido. Ative sua conta e depois faça login!' });
168 popup.then(function() { 168 popup.then(function() {
169 $scope.registerFormDisplayed = false; 169 $scope.registerFormDisplayed = false;
170 }); 170 });