monkeyDluffy6017 commented on code in PR #2634:
URL: https://github.com/apache/apisix-dashboard/pull/2634#discussion_r995584832
##########
api/internal/handler/authentication/authentication.go:
##########
@@ -51,9 +51,9 @@ type UserSession struct {
// swagger:model LoginInput
type LoginInput struct {
// username
- Username string `form:"username" binding:"required"`
+ Username string `json:"username" binding:"required"`
Review Comment:
The old version can get `form`, but the new one can not, it took me some
time to fix this, but it's not working
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]