密码确认

密码验证状态

GET /user/confirmed-password-status

axios.get(`/user/confirmed-password-status`).then(response => {
    if (response.data.confirmed) {
        // 已验证
    } else {
        // 未验证
    }
});

验证密码

POST /user/confirm-password

axios.post(`/user/confirm-password`, {
    password: "123456"
}).then(response => {
    // 成功
}).catch(error => {
    // 登录密码不正确...
});
Last Updated:
Contributors: jinfakeji168