changed sign-in redirect to dashboard page

This commit is contained in:
kunw 2016-05-24 15:15:50 +08:00
parent 29d10baac1
commit 2011453d4b
2 changed files with 2 additions and 6 deletions

View File

@ -32,7 +32,7 @@
} }
function signedInSuccess(data, status) { function signedInSuccess(data, status) {
$window.location.href = "/ng/project"; $window.location.href = "/ng/dashboard";
} }
function signedInFailed(data, status) { function signedInFailed(data, status) {

View File

@ -20,11 +20,7 @@
vm.searchProject = searchProject; vm.searchProject = searchProject;
vm.showAddButton = showAddButton; vm.showAddButton = showAddButton;
vm.togglePublicity = togglePublicity; vm.togglePublicity = togglePublicity;
$timeout(function() {
vm.user = currentUser.get(); vm.user = currentUser.get();
});
vm.retrieve(); vm.retrieve();
function retrieve() { function retrieve() {