on 1/23/01 10:18 AM, "Daniel Rall" <[EMAIL PROTECTED]> wrote:

> Is there ever a case where we actually want to unconfirm someone?

Yes. When someone changes their email address, they should be required to
reconfirm their account.

> It seems like the usual case will just be confirmation.  If so, perhaps
> this method should be overloaded to pass a positive confirmation value
> when no parameters are used.

Nope. In this case, what you do is just set another confirmation code and
then send a new email. It is just a few lines of code...

       User user = TurbineSecurity.getUser(username);
       String uniqueId =
           TurbineUniqueId.getPseudorandomId().substring(0,10);
       user.setConfirmed(uniqueId);
       TurbineSecurity.saveUser(user);

-jon

-- 
Honk if you love peace and quiet.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to