monkeyDluffy6017 commented on code in PR #2634:
URL: https://github.com/apache/apisix-dashboard/pull/2634#discussion_r995570681


##########
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 have tried `form`, but only `json` can be got in userLogin, you could try 
that



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

Reply via email to