Hi Mike,

I had the same problem, traced the code to
org.apache.jetspeed.modules.actions.JLoginUser

After tracing the code all the way through, I found that even though the
secret key matches the confirm_value, and the code even does:

user.setConfirmed( JetspeedResources.CONFIRM_VALUE );

when getUser().getConfirmed() get's called further on down (when trying
to login the user in), the new value does not actually equal CONFIRMED
(it returns the secret key value instead).

I added the following line after the initial
user.setConfirmed(JetspeedResources.CONFIRM_VALUE); 

and it seems to have done the trick.

JetspeedSecurity.saveUser(user);

HTH,

Amin


-----Original Message-----
From: Mike Davis [mailto:[EMAIL PROTECTED] 
Sent: July 2, 2003 10:31 PM
To: [EMAIL PROTECTED]
Subject: Confirmation Email sending the email, but not allowing login 


Greetings Folks,

I am running the latest code grabbed from CVS today,
1.4b5-dev.  I have successfully configured such that I
receive the confirm email and the email indeed
contains a seemingly valid secret code.  I checked the
code against the value in the database and it matches.

  All good so far right?.  However, when I try to
either use the link in the email (very cool BTW) OR I
try to login and manually cut and paste the secret key
into the Confirm Registration form, I get:

Sorry, but you must first confirm this account before
logging in.


More Info: I am running JSP templates, but I flipped
to VM templates with the exact same result.

I am 100% sure that the key is correct.  I assume that
the code is/was working.  Any idea's?   Where is the
actual code that checks the secret key and sets
confirm_value to CONFIRMED?  It's either that code or
the templates (both JSP and VM) have some sort of
problem with the parameters or form action I would
guess.  Or more likely, I missed a crucial config
setting.   Wouldn't be the first time.

Any help would be greatly appreciated

Thanks in advance



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to