Files
lmvpn_server/frontend
kevin b8720f413d fix: 自助修改密码后断开 VPN 连接并登出所有 Web 会话
- auth.go: ChangePassword 失效所有会话(不再排除当前会话),调用 KickUser 断开 VPN 隧道
- ProfileView.vue: 改密成功后 logout 清除 token,跳转登录页并携带 msg 参数
- LoginView.vue: 读取 query.msg 显示"密码已修改,请重新登录"绿色提示
- zh.ts/en.ts: 新增 login.passwordChanged 国际化 key
2026-07-10 13:11:46 +08:00
..
2026-07-02 19:56:13 +08:00
2026-07-02 19:56:13 +08:00
2026-07-02 19:56:13 +08:00
2026-07-02 19:56:13 +08:00
2026-07-02 19:56:13 +08:00
2026-07-02 19:56:13 +08:00
2026-07-02 19:56:13 +08:00
2026-07-02 21:03:51 +08:00

frontend

This template should help get you started developing with Vue 3 in Vite.

VS Code + Vue (Official) (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build