Skip to content

bug(WebClientService): WebClientService服务类,在应用启用保持登录状态时,UserName会为null #7781

@Tony-ST0754

Description

@Tony-ST0754

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

当应用保持登录状态时,并未要求用户重新登录,而是直接进入应用,此时,WebClientService服务注入后,拿到的UserName会为null

Expected Behavior

当应用保持登录状态时,并未要求用户重新登录,而是直接进入应用,此时,WebClientService服务注入后,拿到的UserName会为null

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

当应用保持登录状态时,并未要求用户重新登录,而是直接进入应用,此时,WebClientService服务注入后,拿到的UserName会为null

Exceptions (if any)

No response

.NET Version

NET9.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions