How call forgotpassword?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How call forgotpassword?

MarioF
Hi all,

I have to call the forgotpassword action (the action that send to the user a mail with a new password). I want to do it when a new user is created. So, I have to call this action from the newcustomer.ftl or the CustomerEvent.xml.

Anyone can show me an example of this? I think that is better call the forgotpassword from the CustomerEvent.xml, but how can I do it?

I want to make this at the end of this method in CustomerEvent.xml:

simple-method method-name="createCustomer" short-description="Create Customer" login-required="false">


Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: How call forgotpassword?

Sumit Pandit-3
Hi,
        Service = "emailPassword" can help you.
--
Regards
Sumit Pandit

On 11-Sep-09, at 12:50 PM, MarioF wrote:

>
> Hi all,
>
> I have to call the forgotpassword action (the action that send to  
> the user a
> mail with a new password). I want to do it when a new user is  
> created. So, I
> have to call this action from the newcustomer.ftl or the  
> CustomerEvent.xml.
>
> Anyone can show me an example of this? I think that is better call the
> forgotpassword from the CustomerEvent.xml, but how can I do it?
>
> I want to make this at the end of this method in CustomerEvent.xml:
>
> simple-method method-name="createCustomer" short-description="Create
> Customer" login-required="false">
>
>
> Thanks in advance.
> --
> View this message in context: http://www.nabble.com/How-call-forgotpassword--tp25396212p25396212.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>