Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag:dev 解决因etcd服务权限而无法访问角色和用户管理引起的BUG #8

Open
shinxiang opened this issue May 28, 2024 · 2 comments

Comments

@shinxiang
Copy link

pathUri := strings.TrimLeft(u.Path, "/v1")

tag: dev
bug: 解决因etcd服务权限而无法访问角色和用户管理引起的BUG
source: /program/http.go
代码第136行 : pathUri := strings.TrimLeft(u.Path, "/v1")
应该修改为: pathUri := strings.TrimPrefix(u.Path, "/v1")

@shinxiang
Copy link
Author

该问题导致/passport/login登录接口被拦截,一直显示登录失败!

@shiguanghuxian
Copy link
Contributor

该问题导致/passport/login登录接口被拦截,一直显示登录失败!

感谢提供反馈,后续更新此bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants