Make sure the external login link for GHE links to the enterprise GitHub and not the hosted version

This commit is contained in:
Joseph Schorr 2014-11-06 20:35:52 -05:00
parent d7efb7cf7a
commit 9d1b6d829a
5 changed files with 28 additions and 11 deletions

View file

@ -1738,6 +1738,7 @@ function UserAdminCtrl($scope, $timeout, $location, ApiService, PlanService, Use
if (login.service == 'github') {
$scope.hasGithubLogin = true;
$scope.githubLogin = login.metadata['service_username'];
$scope.githubEndpoint = KeyService['githubEndpoint'];
}
if (login.service == 'google') {