You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2016/09/08 04:46:55 UTC
[38/50] [abbrv] ignite git commit: GG-11489 Minor fix.
GG-11489 Minor fix.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5330ed88
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5330ed88
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5330ed88
Branch: refs/heads/ignite-3629
Commit: 5330ed886d618c3f6e0b3cb1c94ab322b8710856
Parents: a0d985d
Author: Andrey Novikov <an...@apache.org>
Authored: Mon Sep 5 17:48:25 2016 +0700
Committer: Andrey Novikov <an...@apache.org>
Committed: Mon Sep 5 17:48:25 2016 +0700
----------------------------------------------------------------------
.../frontend/app/controllers/reset-password.controller.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/5330ed88/modules/web-console/frontend/app/controllers/reset-password.controller.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/controllers/reset-password.controller.js b/modules/web-console/frontend/app/controllers/reset-password.controller.js
index 846cd42..da0c37b 100644
--- a/modules/web-console/frontend/app/controllers/reset-password.controller.js
+++ b/modules/web-console/frontend/app/controllers/reset-password.controller.js
@@ -35,15 +35,15 @@ export default ['resetPassword', [
$scope.resetPassword = (reset_info) => {
$http.post('/api/v1/password/reset', reset_info)
.success(() => {
- Messages.showInfo('Password successfully changed');
+ $state.go('signin');
- $state.go('base.configuration.clusters');
+ Messages.showInfo('Password successfully changed');
})
.error((err, state) => {
- Messages.showError(err);
-
if (state === 503)
- $state.go('base.configuration.clusters');
+ $state.go('signin');
+
+ Messages.showError(err);
});
};
}