ShouldChangePassword
is a feature of zero. If you don't want users to log in, you can try to override the IsActiveAsync
method of AbpProfileService
.
if(user.ShouldChangePasswordOnNextLogin)
{
context.IsActive = false;
}
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/ff508655a00da76e099248728af22b70447eb95b/src/Abp.ZeroCore.IdentityServer4/IdentityServer4/AbpProfileService.cs#L39 https://docs.identityserver.io/en/dev/reference/profileservice.html
hi omkarchoudhari
Could you share your website url to me(include user&password)? [email protected]
From website log we are not getting any much informative error seems impersonate URL returns 302 error.
Please share these logs
hi
Please refer to https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3085#issuecomment-366451689
The problem has been resolved by remotely.
hi
Maybe you can try to copy the System.Data.SqlClient.dll
in the zero project to the final directory.
hi @Leonardo.Willrich
Does the publish
folder contain the System.Data.SqlClient.dll
file?
Zero uses the 4.8.1 version of System.Data.SqlClient
package.
hi
elsa-core has released new version.
https://github.com/elsa-workflows/elsa-core/releases
Hi
This method exist in aspnetboilerplate.
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/35cb7f6be1b9a8a17f64f83f82567c09b2c5bf07/src/Abp.AspNetCore/AspNetCore/Mvc/Auditing/HttpContextClientInfoProvider.cs#L37
hi
You can forward the real IP in nginx and then rewrite the GetClientIpAddress method of HttpContextClientInfoProvider to get the info in the request header.
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore/AspNetCore/Mvc/Auditing/HttpContextClientInfoProvider.cs#L37