Forums / Developer / [SOLVED]Replace the username field of user/login

[SOLVED]Replace the username field of user/login

Author Message

justin kazadi

Monday 30 March 2009 10:46:21 am

Hi,
i want to know how can i replace the username field of the user/login by the email in the login template.

thanks in advance.

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

justin kazadi

Tuesday 31 March 2009 2:03:36 am

Hi,
can somebody help me ?
any suggestion ?
thanks in advance.

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

André R.

Tuesday 31 March 2009 2:20:38 am

You don't need to change anything other then the label of your html, eZ Publish should let you login with email as well as login name by default.

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

justin kazadi

Tuesday 31 March 2009 2:38:44 am

Hi,
it works!

thanks very much André R.

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