thanks mykal, I should secure the gitea instance...

This commit is contained in:
Wouter Groeneveld 2022-07-06 21:31:44 +02:00
parent 82bc9a6a4f
commit 3ab1b75f37
1 changed files with 9 additions and 0 deletions

View File

@ -53,6 +53,13 @@ DISABLE_REGISTRATION = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = true
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
[admin]
DISABLE_REGULAR_ORG_CREATION = true
[repository]
MAX_CREATION_LIMIT = 0
[oauth2_client]
REGISTER_EMAIL_CONFIRM = false
@ -81,3 +88,5 @@ Migrating the repositories themselves was dead easy: `git remote set-url origin
I guess it'll be up to me now to promote my own coding work, instead of letting GitHub/Microsoft do that. Oh noes, all those lost stars and followers! What shall I do?
Yo check it out: https://git.brainbaking.com/. Contributions welcome!
Addendum `21:26`: [Mykal Machon](https://mykal.codes/) hacked my Gitea instance! I seemed to have forgotten to disable repository/organization creation for new users (that are created via the OAuth sign-in). What a nasty surprise, thanks so much Mykal for reaching out! The solution was found in this [Can new users be restricted to issues only?](https://discourse.gitea.io/t/can-new-users-be-restricted-to-issues-only/1045/3) forum post.