Forums / Setup & design / Login in Front Office

Login in Front Office

Author Message

Aurélie Beaumont

Monday 30 March 2009 5:14:25 am

Hi,

do you know how to forbid access to login page in front office?

Thanks for your answers

justin kazadi

Monday 30 March 2009 5:36:15 am

Hi,
do you talk about limitate access of your web site to the registers user.if so , then
edit your siteaccess/site_access_name/site.ini.append

add these line:

[SiteAccessSettings]
RequireUserLogin=true

i think this can help you.
good luck

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Aurélie Beaumont

Monday 30 March 2009 6:28:00 am

I don't want users who know the url http://mysite/index.php/user/login to access to login page in frontoffice.

There is an option? Or I must override the template of login page?

justin kazadi

Monday 30 March 2009 6:55:04 am

Hi,
can you tell us what users have access to this link?

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Aurélie Beaumont

Monday 30 March 2009 7:45:38 am

All users can access to this link

André R.

Monday 30 March 2009 7:54:21 am

you can disable the user/login view using:

site.ini:

[SiteAccessRules]
Rules[]=access;disable
Rules[]=module;user/login

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Aurélie Beaumont

Monday 30 March 2009 8:13:41 am

Thank you! It works.