diff --git a/dist/stormpath-sdk-angularjs.js b/dist/stormpath-sdk-angularjs.js index 07d6e48..e723a24 100644 --- a/dist/stormpath-sdk-angularjs.js +++ b/dist/stormpath-sdk-angularjs.js @@ -2,7 +2,7 @@ * stormpath-sdk-angularjs * Copyright Stormpath, Inc. 2016 * - * @version v1.1.0-dev-2016-08-17 + * @version v1.1.0-dev-2016-10-24 * @link https://github.com/stormpath/stormpath-sdk-angularjs * @license Apache-2.0 */ @@ -3183,14 +3183,9 @@ angular.module('stormpath.userService',['stormpath.CONFIG']) * verified and can be used for login. If rejected the token is expired * or has already been used. * - * @param {Object} data Data object + * @param {String} sptoken * - * An object literal for passing the email verification token. - * Must follow this format: - * ``` - * { - * sptoken: '' - * }``` + * The value of the `sptoken` that was sent by email to the user * * @description * diff --git a/dist/stormpath-sdk-angularjs.min.js b/dist/stormpath-sdk-angularjs.min.js index c2dd8e4..227a1ec 100644 --- a/dist/stormpath-sdk-angularjs.min.js +++ b/dist/stormpath-sdk-angularjs.min.js @@ -2,7 +2,7 @@ * stormpath-sdk-angularjs * Copyright Stormpath, Inc. 2016 * - * @version v1.1.0-dev-2016-08-17 + * @version v1.1.0-dev-2016-10-24 * @link https://github.com/stormpath/stormpath-sdk-angularjs * @license Apache-2.0 */ diff --git a/dist/stormpath-sdk-angularjs.tpls.js b/dist/stormpath-sdk-angularjs.tpls.js index 36a942e..86be999 100644 --- a/dist/stormpath-sdk-angularjs.tpls.js +++ b/dist/stormpath-sdk-angularjs.tpls.js @@ -2,7 +2,7 @@ * stormpath-sdk-angularjs * Copyright Stormpath, Inc. 2016 * - * @version v1.1.0-dev-2016-08-17 + * @version v1.1.0-dev-2016-10-24 * @link https://github.com/stormpath/stormpath-sdk-angularjs * @license Apache-2.0 */ diff --git a/dist/stormpath-sdk-angularjs.tpls.min.js b/dist/stormpath-sdk-angularjs.tpls.min.js index 843bc63..e4c6fbc 100644 --- a/dist/stormpath-sdk-angularjs.tpls.min.js +++ b/dist/stormpath-sdk-angularjs.tpls.min.js @@ -2,7 +2,7 @@ * stormpath-sdk-angularjs * Copyright Stormpath, Inc. 2016 * - * @version v1.1.0-dev-2016-08-17 + * @version v1.1.0-dev-2016-10-24 * @link https://github.com/stormpath/stormpath-sdk-angularjs * @license Apache-2.0 */ diff --git a/src/spEmailVerification.tpl.html b/src/spEmailVerification.tpl.html index c7657ff..96da4f5 100644 --- a/src/spEmailVerification.tpl.html +++ b/src/spEmailVerification.tpl.html @@ -3,7 +3,7 @@

We are verifying your account

Your account has has been verified! - Login Now. + Login Now.

We have sent a new verification message to your email address, please check your email for this message. @@ -25,7 +25,7 @@

- +
diff --git a/src/spLoginForm.tpl.html b/src/spLoginForm.tpl.html index b8d9b27..8b8a3f9 100644 --- a/src/spLoginForm.tpl.html +++ b/src/spLoginForm.tpl.html @@ -49,7 +49,7 @@
diff --git a/src/spPasswordResetForm.tpl.html b/src/spPasswordResetForm.tpl.html index a2343d2..ed07164 100644 --- a/src/spPasswordResetForm.tpl.html +++ b/src/spPasswordResetForm.tpl.html @@ -1,10 +1,10 @@

We are verifying this link

-

Your new password has been set. Please Login Now.

+

Your new password has been set. Please Login Now.

This password reset link is not valid. You may request another - link by clicking here. + link by clicking here.
@@ -13,15 +13,15 @@
- +
- +
- +
- +
diff --git a/src/spPasswordResetRequestForm.tpl.html b/src/spPasswordResetRequestForm.tpl.html index 67438c7..3223860 100644 --- a/src/spPasswordResetRequestForm.tpl.html +++ b/src/spPasswordResetRequestForm.tpl.html @@ -5,7 +5,7 @@ Please check your email for this message, then click on the link.

- Back to Login + Back to Login

diff --git a/src/spRegistrationForm.tpl.html b/src/spRegistrationForm.tpl.html index 818e0ac..64846c7 100644 --- a/src/spRegistrationForm.tpl.html +++ b/src/spRegistrationForm.tpl.html @@ -37,9 +37,9 @@

Your account has been created. Please check your email for a verification link.

- Back to Login + Back to Login

-

Your account has been created. Login Now.

+

Your account has been created. Login Now.

@@ -70,4 +70,4 @@
- \ No newline at end of file + diff --git a/src/stormpath.emailverification.js b/src/stormpath.emailverification.js index 2ef74b0..85adf0f 100644 --- a/src/stormpath.emailverification.js +++ b/src/stormpath.emailverification.js @@ -42,6 +42,9 @@ angular.module('stormpath') $scope.posting = false; }); }; + $scope.login = function(){ + $location.path('/login') + }; }]) /** diff --git a/src/stormpath.login.js b/src/stormpath.login.js index dfe6290..76d7cdc 100644 --- a/src/stormpath.login.js +++ b/src/stormpath.login.js @@ -2,7 +2,7 @@ angular.module('stormpath') -.controller('SpLoginFormCtrl', ['$scope','$auth','$viewModel',function ($scope,$auth,$viewModel) { +.controller('SpLoginFormCtrl', ['$scope','$auth','$location','$viewModel',function ($scope,$auth,$location,$viewModel) { $scope.viewModel = null; $viewModel.getLoginModel().then(function (model) { @@ -30,6 +30,9 @@ angular.module('stormpath') $scope.error = err.message; }); }; + $scope.forgot = function(){ + $location.path('/forgot') + }; }]) diff --git a/src/stormpath.passwordreset.js b/src/stormpath.passwordreset.js index dbedf6e..b7bff5a 100644 --- a/src/stormpath.passwordreset.js +++ b/src/stormpath.passwordreset.js @@ -1,7 +1,7 @@ 'use strict'; angular.module('stormpath') -.controller('SpPasswordResetRequestCtrl', ['$scope','$user',function ($scope,$user) { +.controller('SpPasswordResetRequestCtrl', ['$scope','$location','$user',function ($scope,$location,$user) { $scope.sent = false; $scope.posting = false; $scope.formModel = { @@ -21,6 +21,12 @@ angular.module('stormpath') $scope.posting = false; }); }; + $scope.forgot = function(){ + $location.path('/forgot'); + }; + $scope.login = function(){ + $location.path('/login'); + }; }]) .controller('SpPasswordResetCtrl', ['$scope','$location','$user',function ($scope,$location,$user) { @@ -71,7 +77,9 @@ angular.module('stormpath') $scope.posting = false; }); }; - + $scope.login = function(){ + $location.path('/login'); + }; }]) /** diff --git a/src/stormpath.registration.js b/src/stormpath.registration.js index 636e9dd..0357e14 100644 --- a/src/stormpath.registration.js +++ b/src/stormpath.registration.js @@ -61,6 +61,9 @@ angular.module('stormpath') $scope.error = err.message; }); }; + $scope.login = function(){ + $location.path('/login'); + }; }]) @@ -177,4 +180,4 @@ angular.module('stormpath') scope.postLoginState = attrs.postLoginState || ''; } }; -}); \ No newline at end of file +});