diff --git a/index.html b/index.html index e261d9cc9..57e57b0a1 100644 --- a/index.html +++ b/index.html @@ -58,6 +58,7 @@ Email not confirmed.
Please confirm your email address using the confirmation link at the message we sent you + Resend
diff --git a/js/controllers/index.js b/js/controllers/index.js index 285506ee9..8f4afdb2d 100644 --- a/js/controllers/index.js +++ b/js/controllers/index.js @@ -1,10 +1,14 @@ 'use strict'; -angular.module('copayApp.controllers').controller('IndexController', function($scope, go, isCordova) { +angular.module('copayApp.controllers').controller('IndexController', function($scope, go, isCordova, identityService) { $scope.init = function() { }; + $scope.resendVerificationEmail = function (cb) { + identityService.resendVerificationEmail(cb); + }; + $scope.swipe = function(invert) { go.swipe(invert); }; diff --git a/js/services/identityService.js b/js/services/identityService.js index 8dcc89a04..2dc23ed4a 100644 --- a/js/services/identityService.js +++ b/js/services/identityService.js @@ -62,6 +62,10 @@ angular.module('copayApp.services') }); }; + root.resendVerificationEmail = function (cb) { + console.log('yes'); + }; + root.setServerStatus = function(headers) { if (!headers) return;