diff --git a/helm/main/values-test.yaml b/helm/main/values-test.yaml index 44c4d3b7..7c82ba31 100644 --- a/helm/main/values-test.yaml +++ b/helm/main/values-test.yaml @@ -11,7 +11,7 @@ global: 'SSO_AUTHORITY': 'https://dev.loginproxy.gov.bc.ca/auth/realms/standard' 'SM_LOGOFF_URL': 'https://logontest7.gov.bc.ca/clp-cgi/logoff.cgi/' 'CHES_TOKEN_URL': 'https://dev.loginproxy.gov.bc.ca/auth/realms/comsvcauth/protocol/openid-connect/token' - 'CHES_URL': 'https://ches-test.api.gov.bc.ca' + 'CHES_URL': 'https://ches-dev.api.gov.bc.ca' nameOverride: strdss-test fullnameOverride: strdss-test diff --git a/server/StrDss.Service/UserService.cs b/server/StrDss.Service/UserService.cs index 0999db59..13dadead 100644 --- a/server/StrDss.Service/UserService.cs +++ b/server/StrDss.Service/UserService.cs @@ -89,7 +89,7 @@ public async Task>> CreateAccessRequestAsync(Acc _unitOfWork.Commit(); - var adminUsers = await _userRepo.GetAdminUsers(); + var adminUsers = (await _userRepo.GetAdminUsers()).Where(x => x.IsEnabled).ToList(); if (adminUsers.Count > 0) {