Re: Lost Password

From: Gordon Hudson (gordon@hostroute.net)
Date: Fri Oct 01 2004 - 09:09:36 EDT


----- Original Message -----
From: "Thomas Drought" <thdrought@geonetworking.com>
To: <discuss-list@opensrs.org>
Sent: Friday, October 01, 2004 7:49 AM
Subject: Lost Password

> I would like to put a link on the customers login page on the Manage site
to
> send the users password if they forget it. How do I do that?
>
> Thanks,
> Tom Drought

I assume you are using the client code?
Very simple.
Make a link on the log in page to a seperate page.
Into which you put this:

   <form method="post" action="http://[path_to_you_scripts]/manage.cgi">
                    <b>&nbsp;&nbsp;Enter domain name: </b>www.
                    <input type="text" name="domain">
                    <input class="blue" type="submit" name="Submit2"
value="Submit">
                    <input type="hidden" name="action"
value="send_password">
                  </form>

When they submit the form the password gets sent to the admin contact

Regards

Gordon Hudson
Hostroute.com Ltd
www.hostroute.net

------------------------------------------------



This archive was generated by hypermail 2.1.3 : Sun Oct 31 2004 - 23:00:01 EST