Open
Description
Gitea Version
1.16.1
Git Version
2.20.1
Operating System
Mac OS Mojave 10.14.6
How are you running Gitea?
Via terminal command gitea
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
Requires mandatory json parameter login_name
What for? The request will be executed in any case for the {username} specified in the query string.
But if I specify the wrong login_name
, it will be updated, but the request will be executed anyway for {username}
Apparently, this is an extra parameter that does not affect the request in any way.
If I want to update the user's email
, I can update it without passing login_name
, because it will be updated for {username}
Right?