[ic] get_password multiple email "one per account"
Peter
peter at pajamian.dhs.org
Wed Mar 7 15:49:15 EST 2007
On 03/07/2007 08:47 AM, David Bordas wrote:
> Hi,
>
> I'm trying to make lost password process easier for our customers.
> I've made some changes on lost_password.html page, all is ok for now
> (http://www.testadaz.com/mic/lost_password.html).
>
> Now, i've only got a problem, if someone has got more than one account
> with the same email, get_password.html will return an error.
> This code cause this :
> [if value mv_search_match_count > 1]
> More than one answer... <a href="[area lost_password]"
> class="bleunormal">Retentez ?</a>
> [set get_id_matches][/set]
> [/if]
Yep you need to remove that code.
> I've tried to remove it, but now nothing happens is someone have got
> several accounts.
>
> Did someone do something like this before ?
> [set get_id_matches][search-list][if-item-data userdb email][item-code][/if-item-data][/search-list][/set]
You need to add a space to the above line after [item-code] like so:
[set get_id_matches][search-list][if-item-data userdb email][item-code]
[/if-item-data][/search-list][/set]
...otherwise the next loop will just see it as one long continuous
string of characters and try to parse all the IDs as one.
Peter
More information about the interchange-users
mailing list