You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/10/14 09:48:24 UTC
[GitHub] [apisix-dashboard] monkeyDluffy6017 commented on a diff in pull request #2634: feat: Proxy the related requests to apisix
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org