key_email_match
Posted: 12 September 2008 01:05 PM   [ Ignore ]
Newbie
Rank
Total Posts:  21
Joined  2008-08-07

i’m setting key_email_match="yes" in my {exp:user:register} tag but the resulting registration form accepts any email address i supply…

i’ve checked the member list, and indeed the registered user has the mismatched email address of their choice associated with their account.

as i understood it, registering users need to supply the same email address as in their invite? and if they supply another, an error should be generated?

is there something i’m missing?

Profile
 
 
Posted: 15 September 2008 08:30 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Are you also using the require_key="” parameter? smile

Try using this code:

{exp:user:register form_name="some_name" return="template_group/template" require_key="yes" key_email_match="yes"

<p>Username: <input type="text" name="username" class="input" size="25" /></p
<
p>Screen Name: <input type="text" name="screen_name" class="input" size="25" /></p
<
p>Email Address: <input type="text" name="email" class="input" size="40" /></p

<
p>Password: <input type="password" name="password" class="input" size="25" /></p
<
p>Confirm Password: <input type="password" name="password_confirm" class="input" size="25" /></p
<
input type="hidden" name="key" value="{key}" /> 

<
p>Accept Terms?: <input type="checkbox" name="accept_terms" value="y" /> Accept Terms?</p

<
p><input type="submit" value="submit" class="submit" /></p

{/exp:user:register}

 Signature 
Profile
 
 
Posted: 15 September 2008 12:45 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  21
Joined  2008-08-07

here’s the tag ive been using:

{exp:user:register form_name="register" return="{path=staff/firstlogin}" require_key="yes" key_email_match="yes"}

should work, right?

Profile
 
 
Posted: 15 September 2008 03:44 PM   [ Ignore ]   [ # 3 ]
Member
RankRankRank
Total Posts:  76
Joined  2007-07-19

I had this problem in the past.  Was it ever fixed?

http://www.solspace.com/forums/viewthread/1173/

Profile
 
 
Posted: 16 September 2008 08:09 AM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Joobs,

Thanks for the remindeder… you’re right, it has not yet been fixed.

We have another new developer with us to get up to date on our Software, so we’re starting to plow through these bugs now (and plenty of new features!).
A new Favorites on steriods is close to release, as well as a more polished Tag module. Next will be User. smile

We appreciate your patience smile

 Signature 
Profile