Display the password change dialog immediately after account recovery
Fixes #1697
This commit is contained in:
parent
dcd8157207
commit
2a24bbfb50
1 changed files with 6 additions and 1 deletions
|
@ -43,9 +43,14 @@
|
|||
$scope.context.viewuser = user;
|
||||
$scope.viewuser = user;
|
||||
|
||||
// Load the repositories.
|
||||
$timeout(function() {
|
||||
// Load the repositories.
|
||||
loadRepositories();
|
||||
|
||||
// Show the password change dialog if immediately after an account recovery.
|
||||
if ($routeParams.action == 'password' && UserService.isNamespaceAdmin(username)) {
|
||||
$scope.showChangePassword();
|
||||
}
|
||||
}, 10);
|
||||
});
|
||||
};
|
||||
|
|
Reference in a new issue