重複登入前置檢查

登入前 read-only 檢查是否有重複登入(concurrent-login-guard / D15)。

流程:驗帳密 → 簽發 precheck lease(TTL 30s)→ 查 mod_active_session 是否已有其他裝置登入。

Lease 衝突:同一 (user, agent) 的另一裝置已持有 lease 時回 status: 0, precheck_throttled: true,前端應顯示倒數對話框。

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

登入帳號(email 格式自動轉小寫)

string
required

登入密碼

string
required

裝置 ID(browserId)。用於 precheck lease 識別、同時作為後續 ForceLogout MQTT topic 的 device 識別碼(/UID/{uid}/ForceLogout)

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json