Merge pull request #3581 from abpframework/maliming/patch-ids

Fix the problem of GetAllowedScopeNames method.
pull/3619/head
Halil İbrahim Kalkan 6 years ago committed by GitHub
commit 4a12d987ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -188,7 +188,7 @@ namespace Volo.Abp.Account.Web.Pages
public List<string> GetAllowedScopeNames()
{
var identityScopes = IdentityScopes ?? new List<ConsentModel.ScopeViewModel>();
var apiScopes = IdentityScopes ?? new List<ConsentModel.ScopeViewModel>();
var apiScopes = ApiScopes ?? new List<ConsentModel.ScopeViewModel>();
return identityScopes.Union(apiScopes).Where(s => s.Checked).Select(s => s.Name).ToList();
}
}

Loading…
Cancel
Save