go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.11k stars 5.49k forks source link

Unable to change user account source form any external to local #31996

Closed OCram85 closed 1 month ago

OCram85 commented 2 months ago

Description

If your try to migrate any user to internal account type it fails with the error message Non-local users are not allowed to change their username.

Already tried to keep or change the user property values through ui: Authentication Sign-In Name or Username

Gitea Version

1.22.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

See https://forum.gitea.com/t/ho-to-change-gitea-user-account-type/9682

Git Version

No response

Operating System

Ubuntu LTS

How are you running Gitea?

docker swarm stack

Database

PostgreSQL

OCram85 commented 2 months ago

Any ideas how I could change such user account name?

lunny commented 2 months ago

Looks like a bug. I will take a look this week. Maybe a regression of #28733

OCram85 commented 1 month ago

Any updates for this?