change password page redirect done

This commit is contained in:
gandhimathi 2018-04-06 12:23:33 +05:30
parent d5df8bff81
commit dd90a6039b

View File

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