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 });