Browse Source
Merge pull request #3904 from abpframework/maliming/patch-4
Add Email property to CurrentUserDto.
pull/3918/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
3 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.Contracts/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/CurrentUserDto.cs
-
framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs
|
|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|