thomiceli / opengist

Self-hosted pastebin powered by Git, open-source alternative to Github Gist.
https://demo.opengist.io
GNU Affero General Public License v3.0
1.52k stars 76 forks source link

[Feature Request]: Disable registration #262

Closed jiriks74 closed 2 months ago

jiriks74 commented 2 months ago

Hello, I'm setting up the project and it looks so good! Can't way to try it out.

But I've got a use case that is not covered by the current config options. I'd like to allow users only from my Gitea instance. I've setup OAuth and it's working but I cannot find an option to disable user registration outside of OAuth.

It would really help if I was able to do so.

jiriks74 commented 2 months ago

Closing because the first account created has an admin panel where this can be turned off.

I didn't see anything like this in the docs so there wasn't a reason to look for an admin panel.

thomiceli commented 2 months ago

You're right, some docs about this should be added