mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-06-29 11:22:02 +08:00
fix: 针对角色配置不同的绑定地址数量上限 (#742)
This commit is contained in:
@@ -194,6 +194,9 @@ app.use('/user_api/*', async (c, next) => {
|
||||
console.error(e);
|
||||
return c.text(msgs.UserTokenExpiredMsg, 401)
|
||||
}
|
||||
if (c.req.path.startsWith("/user_api/bind_address")) {
|
||||
await checkoutUserRolePayload(c);
|
||||
}
|
||||
if (c.req.path.startsWith('/user_api/bind_address')
|
||||
&& c.req.method === 'POST'
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user