How can I rename a user?


I’m using Gogs, on Ubuntu 16.10, with PostgreSQL.

I can’t find a way to rename a user that’s already registered on the internal user list. I tried to update the database directly, but when I click on the username, it fails with 404 error.

I didn’t find an option to actually rename the user in the UI.

Any suggestions? Thanks in advance!


Account setting of the user, or in admin panel edit user.


That’s what I tried, but the username field is not editable:


Well, I found it. You can’t edit the username of other person, even if you’re admin. You have to log in with the same user that you want to edit.