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
2026-07-27 01:26:02 +08:00
committed by GitHub
parent 470d34b1de
commit a3caf21440
18 changed files with 278 additions and 238 deletions
+3 -2
View File
@@ -4,8 +4,9 @@
package session
const (
KeyUID = "uid"
KeyUname = "uname"
KeyUID = "uid"
KeyImpersonatorData = "impersonatorData"
KeyUserHasTwoFactorAuth = "userHasTwoFactorAuth"
)