This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » Override forgotpassword
expandshrink

Override forgotpassword

Override forgotpassword

Wednesday 19 June 2013 12:09:01 pm - 3 replies

Hi all,

Is there a simple way to override forgotpassword functionnality ?

(ezpublish 4)

I'd like to give back some of my user original password from another system.

thanks in advance,

Patrice

Modified on Wednesday 19 June 2013 12:09:39 pm by Patrice DUCLAUD

Wednesday 19 June 2013 12:39:29 pm

probably the fastest way is to create a custom view, and do all the biz logic you need in there.

if you wanrt to keep the same url, you can add a redirect from user/forgotpassword to your new view

Wednesday 19 June 2013 3:41:13 pm

thanks Gaetano for your reply,

i'm going to follow your advice. In fact, i need to keep actual logic and for one category of users do something different.

Of course i was hoping for the possibility of doing nothing much code.

Patrice

Wednesday 26 June 2013 2:04:40 pm

Hello Patrice,

Creating a custom module view is not really that hard to do and does not require very much code at all.

You can even copy the default module view (user/forgotpassword) and customize as needed which can save a lot of time as well.

I hope this helps ...

Cheers,
//kracker
Theme: K.Flay - Another Round ...
Mirror: https://soundcloud.com/kflay/k-flay-another-round

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from