I am at a loss how to set this. I think its can be put in config.yml for tutor but I am not sure of the syntax. I see references to writing a snippet of python code to change this setting but that seems really ott for just setting a feature flag and not sure if this mean I will need to run this script everyt time the docker container is recreated.
Create a python plugin like this and name it anything you like, eg RestrictRegistrations.py
Then you can enable it with tutor plugins enable RestrictRegistrations
I’m not sure how to completely remove the sign-up link on the homepage, but with the patch I gave you (at least for me) it does not let you actually proceed with registering, if you fill in all the details and then try register nothing will happen.
Sorry for the delayed feedback. I managed to get rid of the link on the cms with a combinbation of the following: (My memory is a bit hazy now so I may get some details wrong. I am posting this in case it helps others.)
vi .local/share/tutor-plugins/disable-pubic-account-creation.py