Disabling Allow New Registrations still shows registration link and modal

I am not able to repro this.

In my local testing when I disabled allow new registrations setting, the ‘Sign Up’ button was hidden from site header. This is expected, as per this code:

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/controllers/application.js.es6#L9-L13

Are you testing this on latest Discourse version?

2 « J'aime »