hi
Can you try to upgrade studio and cli to latest and try again?
> abp get-source Volo.Abp.LeptonXTheme
[09:10:50 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
📌 ABP CLI 0.8.3 (Beta)
[09:10:51 INF] Downloading source code of Volo.Abp.LeptonXTheme (Latest)
[09:10:51 INF] Output folder: /Users/sourcecode
[09:11:03 INF] 'Volo.Abp.LeptonXTheme' has been successfully downloaded to '/Users/sourcecode'
hi
You can use
using (CultureHelper.Use("en-GB"))
{
//get localization texts
}
hi
Can you share a project or a template project to reproduce?
I will fix this if I can reproduce.
Thanks
hi
There is no user concept in PeriodicBackgroundWorker
, But you can use a fixed user-id/username in it.
hi
You can download the source code of account module. That will be easier for customization.
If you don't want to use source code you can check:
https://abp.io/docs/latest/framework/architecture/modularity/extending/customizing-application-modules-guide
We use IdentityLinkUserManager
to manage the link users.
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityLinkUserManager.cs
hi
The claims are written by AbpUserClaimsFactory
when you sign in account/login
page, please confirm this.
You can sign in, refresh the auth server project, and set a breakpoint to check current claims on the MVC page.
The auth server project current user claims come from cookies.
hi
In background worker I require IStringLocalizer service, but unfortunately is not correctly resolving current language. Any ideas?
The current language will obtain from current user setting
=> current tenant setting
=> global setting
=> default setting
There is no tenant and user in your current background worker.
so it will getting from global setting
=> default setting
hi
Can you try to build via dotnet restore
and dotnet build
.
hi
Can you check the permissions(in the permission modal of user or role) of the current user? Does he have saas permissions?
And what's your project info?