XF 2.2 How to disable registration except through create user API?

kmecpp

Member
I can disable account registration entirely but then I can't create them through the XenForo API either.

I removed the template for registration but people and bots can still create accounts by sending requests directly to the registration system.

How can I prevent people from making accounts through XenForo's default registration system but allow account creation using the API?
 

kmecpp

Member
Okay great thanks. So if the register URL is blocked this way, user account creation is impossible without the API?
 

kmecpp

Member
@Brogan The only problem with this is that it changes the registration popup form to the forum board.

How do I change the route assigned to the register_form template?
 

Kirby

Well-known member
Hmm ... either I am missing smth, or the API shouldn't care if user registration is enabled?
 
Top