Add collection of user metadata: name and company
This commit is contained in:
parent
909be766c9
commit
0f2eb61f4a
14 changed files with 178 additions and 33 deletions
|
@ -21,7 +21,11 @@
|
|||
|
||||
UserService.updateUserIn($scope, function(user) {
|
||||
if (!user.anonymous) {
|
||||
$location.path('/repository/');
|
||||
if (user.prompts && user.prompts.length) {
|
||||
$location.path('/updateuser/');
|
||||
} else {
|
||||
$location.path('/repository/');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue