mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Still a lot of work to do on the frontend for this.
This commit is contained in:
parent
8cf5a4c1fd
commit
b04344dd17
25 changed files with 952 additions and 476 deletions
|
@ -18,7 +18,7 @@ namespace Ombi.Mapping.Profiles
|
|||
|
||||
CreateMap<Claim, ClaimCheckboxes>().ConvertUsing<ClaimsConverter>();
|
||||
|
||||
CreateMap<UserDto, UserViewModel>().ForMember(x => x.Password, opt => opt.Ignore());
|
||||
CreateMap<OmbiUser, UserViewModel>().ForMember(x => x.Password, opt => opt.Ignore());
|
||||
|
||||
CreateMap<ClaimCheckboxes, Claim>()
|
||||
.ConstructUsing(checkbox => checkbox.Enabled ? new Claim(ClaimTypes.Role, checkbox.Value) : new Claim(ClaimTypes.Country, ""));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue