feat(sessions): show session origin in admin panel + test

This commit is contained in:
Edouard Vanbelle
2026-08-09 15:35:04 +02:00
parent 763ee82028
commit a7df46f8f8
25 changed files with 396 additions and 29 deletions
+11 -1
View File
@@ -831,6 +831,7 @@
"include_revoked": "包含已撤销 / 已过期",
"refresh": "刷新",
"col_user": "用户",
"col_origin": "来源",
"col_created": "创建于",
"col_expires": "过期于",
"col_ip": "IP",
@@ -846,7 +847,16 @@
"revoke": "撤销",
"empty": "没有会话与当前筛选条件匹配。",
"revoke_self_confirm": "⚠️ 这是您当前的会话。撤销后您将立即被注销并需要重新登录。是否继续?",
"revoke_confirm": "撤销此会话吗?该浏览器的下一次请求将返回 401。"
"revoke_confirm": "撤销此会话吗?该浏览器的下一次请求将返回 401。",
"revoke_lag_notice": "撤销会话会立即中断其刷新路径,但浏览器中已存在的任何 JWT 在下次刷新尝试之前最多可保持有效 {{secs}} 秒。",
"origin": {
"password": "密码",
"opaque": "OPAQUE",
"magic_link": "魔法链接",
"oidc": "SSO",
"device": "设备",
"unknown": "未知"
}
},
"smtp_fail": "发送失败。",
"smtp_send": "发送",