Merge pull request #3904 from abpframework/maliming/patch-4

Add Email property to CurrentUserDto.
pull/3918/head
Halil İbrahim Kalkan 5 years ago committed by GitHub
commit e008b83313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,5 +12,7 @@ namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations
public Guid? TenantId { get; set; }
public string UserName { get; set; }
public string Email { get; set; }
}
}
}

@ -107,7 +107,8 @@ namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations
IsAuthenticated = _currentUser.IsAuthenticated,
Id = _currentUser.Id,
TenantId = _currentUser.TenantId,
UserName = _currentUser.UserName
UserName = _currentUser.UserName,
Email = _currentUser.Email
};
}
@ -226,4 +227,4 @@ namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations
return result;
}
}
}
}

Loading…
Cancel
Save