mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 09:38:09 +01:00
changed sign-in redirect to dashboard page
This commit is contained in:
parent
29d10baac1
commit
2011453d4b
@ -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) {
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user