How do I disable allowSignup in Lock v.11

I found this question which was closed a few years ago but I have the same issue. I am building an app for a closed, private group, so I want to disable the “sign up” tab in Lock v11. The help article on configuration options says you can set a “database” option for this to false and that will make it now appear. It also shows a UI result of that. And there’s an [answer on that thread noted above]9 that says it works for allowSignup: true but it’s not working for false. The tab won’t disappear. How can I make it work? Thanks.

Sorry I meant “not appear” not “now appear,” and the answer link was this. Would be helpful if you could edit questions.