Share » Forums » Setup & design » Login page - How do I disable "Sign...

Login page - How do I disable "Sign Up" function (and remove the button from login page)?

Login page - How do I disable "Sign Up" function (and remove the button from login page)?

Monday 05 January 2004 2:04:38 am - 7 replies

Modified on Wednesday 07 January 2004 9:05:30 am by Christopher Thorjussen

Author Message

laurent le cadet

Monday 05 January 2004 8:57:18 am

Hi,

Maybe you can use the same page (login.tpl) and just remove the button from the template.
Make it as a comment {*....*} if you want to re-use it easilly later.

Hope this help.

Laurent

Christopher Thorjussen

Tuesday 06 January 2004 3:52:19 am

I guess this will remove the button, but wouldn't the function still be available? What about my error?

Balazs Halasy

Tuesday 06 January 2004 4:05:09 am

The function will still be available, yes. In other words: people could still reach it by doing a "/user/register" in the URL. This is because policy checking is omitted for the register function within the user module (.../user/register). However, policy checking can be turned on again by commenting out the following line in "site.ini":

PolicyOmitList[]=user/register

Regarding the error message: seems weird. I just tested this with a fresh 3.3-1 installation and it works here.

Balazs

Shurbann Martes

Tuesday 06 January 2004 4:08:50 pm

Hi Balazs,

Could you please explain more about the User Registration function, because I dont understand it.

If I comment out user/register:

# PolicyOmitList[]=user/register

Then I could turn off the register function? But how?

-Shurbann

Christopher Thorjussen

Wednesday 07 January 2004 8:59:52 am

I should have thought of that Balazs, silly me. Thanks for pointing that out. One question though, will it be available for a user that is logged in? (I'm not at my desk so I can't check it myself..)

Shurbann, if you comment out as Balazs said, you will not be able to open that page when you are not logged in. The rule said that all access to /user/register shouldn't be checked against the rules, so it's a kind of "allow everybody" setting..

Paul Borgermans

Wednesday 07 January 2004 9:13:09 am

See also

http://ez.no/developer/ez_publish_3/forum/developer/disable_register_user_in_login/re_disable_register_user_in_login_its_in_the_ini_files

You can disable entire modules or a specific function in a module.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Guttorm Flatabø

Thursday 17 June 2004 1:01:40 pm

The above link is broken but this one is not:

http://ez.no/community/forum/developer/disable_register_user_in_login/re_disable_register_user_in_login_its_in_the_ini_files

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu