change password page redirect done
This commit is contained in:
parent
d5df8bff81
commit
dd90a6039b
@ -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 });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user