feat: admin impersonates a user (#38614)

* fix #3631
* fix #21599

by the way, refactored the "profile avatar card" to simplify the code.
This commit is contained in:
wxiaoguang authored and GitHub committed 2026-07-26 17:26:02 +00:00
1 parent 470d34b1de
commit a3caf21440
18 files changed
+278 -238

No files matched your search

+3 -2
View File
@@ -4,8 +4,9 @@
package session
const (
KeyUID = "uid"
KeyUname = "uname"
KeyUID = "uid"
KeyImpersonatorData = "impersonatorData"
KeyUserHasTwoFactorAuth = "userHasTwoFactorAuth"
)