How to stop people accessing gogs

I’ve noticed that several people have somehow found my gogs server and created accounts for themselves on it, presumably just to see if they could (some are empty, some have a single empty repo and a wiki with copy/pasted junk in it).

I can’t find any way of preventing this. Am I missing something?

I do need multiple accounts on it, but I would like to disable anyone but me creating them.

Let me check if there is a way to disable registrations, so only admins can add users

Just pushed latest gogs with disabled public registration, can you check and let me know if it is better now.

Which version is that? The latest I can see is 249, and that allows people to create their own accounts.

Right, sorry, did not go out, let me fix that

Can you check now please?

That’s great. The link to create an account is no longer there on the login screen. Thanks.

1 Like