How can I prevent users from creating their own account?

In the site-options.conf file, uncomment the token "DISABLE_USER_SELF_CREATION=true" to disable user self account creation.

You must re-create runtime for the change to take place.