Lost Gitea Local Admin Password?
There are various possible ways you can lose access to your Gitea instance. In particular, if you are getting user accounts via LDAP, you should always have a key to get back in: a "local" admin.
In case you haven't got one (totally not like I did definitely only once 🤫), deleted it or lost its password, here's the procedure in to
https://bowfinger.de/blog/2022/04/lost-gitea-local-admin-password/