[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] get_password multiple email "one per account"


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]

I've tried to remove it, but now nothing happens is someone have got several accounts. I hoped that [loop arg="[scratch get_id_matches]"] will "loop" and send an email per account, but this is not the case :( get_id_matches seems to be like "username1username2", all attached and so loop is not working properly.

Did someone do something like this before ?
I think i should find a way to "split" get_id_matches into a several variables, or perhaps should i look to [set get_id_matches][search-list][if-item-data userdb email][item-code][/if-item-data][/search-list][/set] ?

Any clue ?

Thanks.

--
David Bordas / Testadaz.com
---------------------------------------------------------------------
http://www.testadaz.com : commandez les produits du terroir auvergnat
http://www.testadaz.com/blog : Le blog du terroir cantalien ---------------------------------------------------------------------
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.