
Description
- Gitea version (or commit ref):25d6e2a
- Git version:2.11.2
- Operating system:ubuntu/docker
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
I am using the latest docker image for hosting. Have used the Postgresql linking method to setup my docker gitea installation.
After a normal setup, I login with my newly created admin account.
Then I setup SMTP source auth and change my own auth source to the newly created source.
Now I want to limit every new user that logs in to not be able to create any repositories.
Updating each and every user's setting is not feasible.
As per documentation, setting MAX_CREATION_LIMIT to zero should do the trick.
So I went back to the docker image docker exec -it gitea
, performed opened the /data/gitea/conf/app.ini
and set MAX_CREATION_LIMIT=0
in the repositories section just below the path variable.
Restarting with docker restart gitea
though, has no affect on newly logged in users (via the SMTP source)