mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #951] frpc api 认证问题 #755
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#755
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TelDragon on GitHub (Oct 22, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/951
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
0.21.0
以下版本未测试
What operating system and processor architecture are you using (
go env)?windows7_64位
Configures you used:
有问题的
没有问题的
Steps to reproduce the issue:
/api/reload
/api/status
1.如果添加上认证功能,即便是账号密码正确也不能使用。
2.将认证参数去掉可以正常使用
3. 代码内 admin.go 注释掉可使用
Describe the results you received:
有问题的 提示 “Unauthorized”
正常结果返回
Describe the results you expected:
期望修复这个认证。因为有些还是需要这个认证的。
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@fatedier commented on GitHub (Nov 8, 2018):
admin_passwd = admin应该是admin_pwd = admin,配置文件描述有误,之后会修过。