Add support for filtering github login by org
This commit is contained in:
parent
9e61668c34
commit
4ca5d9b04b
7 changed files with 86 additions and 5 deletions
|
|
@ -124,7 +124,7 @@ function SetupCtrl($scope, $timeout, ApiService, Features, UserService, Containe
|
|||
$scope.showSuperuserPanel = function() {
|
||||
$('#setupModal').modal('hide');
|
||||
var prefix = $scope.hasSSL ? 'https' : 'http';
|
||||
var hostname = $scope.hostname;
|
||||
var hostname = $scope.hostname || document.location.hostname;
|
||||
window.location = prefix + '://' + hostname + '/superuser';
|
||||
};
|
||||
|
||||
|
|
|
|||
Reference in a new issue