Forums / Setup & design / How todisable user/login and user/register ?

How todisable user/login and user/register ?

Author Message

Paulo Almeida

Saturday 29 March 2003 5:04:26 pm

Even if in templates doesn't use login and register buttons, the user can always write the address in browser.
I can disable it creating an empty template in user module of design, or even redirecting with mod_rewrite, but is there anything like CanRegister=False and CanLogin=False or RedirectLogin=/content..... RedirectRegister=/content.....

Regards
Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com

Jan Borsodi

Monday 31 March 2003 12:23:34 am

You can use the SiteAccessRules group in site.ini. It's not in the standard site.ini but you can find an example in settings/siteaccess/demo/site.ini.append or settings/siteaccess/sdk/site.ini.append.
Here you can specify which modules are allowed to run and which aren't, you can then disable the user module.

Module/view enabling/disabling is not supported yet.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paulo Almeida

Monday 31 March 2003 3:52:37 am

Thank you, it worked.
SiteAccess is something that i still have some problems. Like URIMatch.... and so on.
In sdk, is there [SitePrecheckRule], I didn't found anything about that in documentation, can you explain me what it is? Or documentation will shortly include that information.

Best Regards
Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com