Yes, ABP is open source.
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/5e3c7aea7a2b5f0f94133f7c2dca485fb51e28e4/src/Abp.ZeroCore/Authorization/AbpLoginManager.cs#L282-L337
TL;DR: Add the
[FromBody]
attribute to the parameter in your ASP<span></span>.NET Core controller action
— https://andrewlock.net/model-binding-json-posts-in-asp-net-core/
- public JsonResult Register(IdModel model)
+ public JsonResult Register([FromBody] IdModel model)
Existing examples in ASP<span></span>.NET Zero: AccountController
's Impersonate
and SwitchToLinkedAccount
methods.
I guess the new password does not PUSH to AD.
Correct.
When the user uses password0, she is treated as an AD user, and if she uses password1, she is treated as a local user. Is this a bug or by design?
She is treated as the same local user in both cases, but ABP does TryLoginFromExternalAuthenticationSources
first. This is by design.
Your code is outdated.
It was changed in v6.3.0 to currentTheme.baseSettings.menu.asideSkin
more than 3 months ago.
Try renaming id
in controller.
What is the value of console.log(record)
?
Try marking id
as public
.
public class IdModel
{
public int id { get; set; }
}
Duplicate of #6051
That seems reasonable...
Use dotnet ef migrations add
and dotnet ef database update
in the terminal.
Run those in the EntityFrameworkCore folder.