diff --git a/static/js/pages/user-view.js b/static/js/pages/user-view.js index ff15d0c4d..c97a786b8 100644 --- a/static/js/pages/user-view.js +++ b/static/js/pages/user-view.js @@ -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); }); };