bzp2010 commented on code in PR #2634:
URL: https://github.com/apache/apisix-dashboard/pull/2634#discussion_r998885598
##########
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:
I'm sure it's available.

--
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]