Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 new user form with e-mail confirmation

closed
nobody
None
5
2008-06-07
2003-08-31
Remco de Lang
No

It would be nice to have some kind of new user form
witch only activates a new user account after the user
has entered an activation code. like this:

http://news.linuxrelated.net/user.php?op=check_age&module=NS-NewUser

Discussion

  • Logged In: YES
    user_id=948979

    This shouldn't be terribly difficult to accomplish. Here's
    how I'd do it (and I may write a patch if I get a chance):

    - Add two columns to the user_prefs database: account_token
    and account_activated
    - When the user creates the account, the system will set the
    account_token value to a random string and email it to the
    user. It will also set account_activated to N.
    - When the user enters the correct activation code (or goes
    to a URL sent in the email), it will set account_activated to Y.
    - When the user logs in, add an additional check to verify
    that account_activated == Y.

     
  • Anthony Wood
    Anthony Wood
    2008-06-07

    Logged In: YES
    user_id=1586619
    Originator: NO

    Since we dont collect emails nor send emails, I'm not sure these extra steps are worth it for most installations. New users may be added immediately, provided they know the new user secret.

     
  • Anthony Wood
    Anthony Wood
    2008-06-07

    • status: open --> closed