XFileSharing Pro - Disable user registration

Message
Author
widok
Posts: 2
Joined: Feb 12, 2012 7:24 pm

Disable user registration

#1 Postby widok » Feb 12, 2012 7:29 pm

Hi!
how i can turn off new user's registration ? i want to creates user only administrator
sorry for my english ;)

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#2 Postby PowerChaos » Feb 14, 2012 11:03 am

just edit register.html and remove that form in there

then no1 can register until you provide them a account from the admin area

or you can use a code to put in there that only admin can see it

here is the code

Code: Select all

<TMPL_IF admin>
</TMPL_IF>
Greetings From PowerChaos