Prevent external users joining gitea instance
-
I've also lost quite some time kicking accounts and repositories,
in the end I've combined some of the options below (don't forget the[service]section marker and also restart after the changes !)[service] DISABLE_REGISTRATION = True REGISTER_MANUAL_CONFIRM = True EMAIL_DOMAIN_ALLOWLIST = XX_your_domain_here_XX,cloudron.local DEFAULT_USER_IS_RESTRICTED = TrueIt's overkill if all are used at the same time, but depending on the needs and paranoia, it can be useful

-
I infogulch referenced this topic on
-
+1 to "change the app so that the default is a disabled registration". I just had a big mess to clean up because of this. https://forum.cloudron.io/topic/14053/clean-up-external-users-that-have-accessed-gitea-instance
At the very least these configs should be mentioned in the admin checklist.
-
@girish could you please have a look at the suggestions here above about disabling registration by default to prevent spam?

-
Isn't it already false by default ? https://git.cloudron.io/packages/gitea-app/-/blob/master/app.ini.template?ref_type=heads#L78
@joseph said in Prevent external users joining gitea instance:
Isn't it already false by default ? https://git.cloudron.io/packages/gitea-app/-/blob/master/app.ini.template?ref_type=heads#L78
I believe the flag should be set to True not False to block spam
-
@joseph said in Prevent external users joining gitea instance:
Isn't it already false by default ? https://git.cloudron.io/packages/gitea-app/-/blob/master/app.ini.template?ref_type=heads#L78
I believe the flag should be set to True not False to block spam
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
Not sure what i was thinking... Which makes me wonder how come I didn't find any registration button .