[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] Accessing username and password
On 30 Nov, Zachary Matthews wrote:
> I am working on functionality for users who forgot their password. I
> want them to enter their email address, and then check the userdb for
> that email address. If it exists, their username and password gets
> emailed. (Obviously they are not logged in).
>
> I am having problems accessing the username and password fields of the
> userdb. Does anyone know why the following code is not working?
>
>
> [loop search="
> st=db
> fi=userdb
> ml=1
> sf=email
> se=[value forgot_email]
> rf=username,password
> "
> ]
> [seti forgot_username][loop-field username][/seti]
> [seti forgot_password][loop-field password][/seti]
> [/loop]
>
>
>
> Any other ideas on how to search the userdb for an email address, and
> return the matching username and password?
> Thanks,
> Zac
The userdb file is protected by default. Add this
[perl]
$Config->{NoSearch} = '';
return '';
[/perl]
at the top of your page.
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1671441
45886 Gelsenkirchen FAX: 0209 1671441
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users