From dd90a6039b6893265c7a1c9ef3c0792a88933f5f Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 6 Apr 2018 12:23:33 +0530 Subject: [PATCH] change password page redirect done --- Apollo/assets/js/controllers/changePasswordCtrl.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Apollo/assets/js/controllers/changePasswordCtrl.js b/Apollo/assets/js/controllers/changePasswordCtrl.js index 368501be..c54dfe63 100755 --- a/Apollo/assets/js/controllers/changePasswordCtrl.js +++ b/Apollo/assets/js/controllers/changePasswordCtrl.js @@ -58,6 +58,13 @@ app.controller('changePasswordCtrl', ["$scope", "$filter", "ngTableParams", "API password1: "", password2: "" }; + if(localDetails.localType=='R001'){ + $state.go('app.studentView'); + } + else{ + $state.go('app.dashboard'); + + } } else { swal(" ", response.data.message, "warning"); // $state.go($state.current, {}, { reload: true });