formatage du code
This commit is contained in:
parent
28ef3313af
commit
c1c1e420ee
2 changed files with 2 additions and 2 deletions
|
|
@ -55,6 +55,6 @@ namespace Yavsc.Models {
|
|||
public bool DoesBlog { get {
|
||||
return Performer?.Posts != null ? Performer.Posts.Count > 0 : false;
|
||||
} }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -78,9 +78,9 @@ namespace Yavsc
|
|||
|
||||
private async Task<Task> GrantResourceOwnerCredentials(OAuthGrantResourceOwnerCredentialsContext context)
|
||||
{
|
||||
ApplicationUser user = null;
|
||||
logger.LogWarning($"GrantResourceOwnerCredentials task ... {context.UserName}");
|
||||
|
||||
ApplicationUser user = null;
|
||||
using (var usermanager = context.HttpContext.ApplicationServices.GetRequiredService<UserManager<ApplicationUser>>())
|
||||
{
|
||||
user = await usermanager.FindByNameAsync(context.UserName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue