hi
If the same username exists in the database of the tenant and the host, which one should we authenticate if we don't konw tenant or host?
hi
You can take look at this https://github.com/abpframework/abp/issues/42#issuecomment-576025862
hi
You can refer this:
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeedContributor.cs#L26
https://docs.abp.io/en/abp/latest/Data-Seeding
hi
The microsoft localization middleware will set CurrentCulture
and CurrentUICulture
, and abp will use that cultures.
CultureInfo.CurrentCulture;
CultureInfo.CurrentUICulture;
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-5.0
Would it be possible setup a global/tenant culture variable?
You can add a setting that apply tenant side.https://docs.abp.io/en/abp/latest/Settings
hi
https://docs.abp.io/en/abp/latest/Object-Extensions https://docs.abp.io/en/abp/latest/Module-Entity-Extensions
Another problem is that if I can't add properties to RegisterDto, I need to rewrite AccountAppService instead of just the RegisterAsync method.
You can add new method and new Dto.
hi
You can take a look this https://github.com/abpframework/abp/issues/5589#issuecomment-722084689
hi
I think Controller
can't be abstract
.
https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services#example-overriding-a-controller
hi Gary
Request finished HTTP/1.1 GET http://localhost:44382/Abp/ServiceProxyScript - - - 500 - text/plain 243.5808ms
Please check the logs of localhost:44382 application.
hi @lataing
You are right, The RegisterDto
doesn't inherit ExtensibleEntityDto
. I will handle it in next version.
You can create a new RegisterAsync
method to temporarily solve the problem.
Volo.Abp.Account.Public.Web.Pages.Account.RegisterModel.PostInput
Please refer to https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface