Proposal: Email Registration
Status |
Patch under consideration |
Target Release |
4.0 |
Original Authors |
Sedat Çiftçi, Dave Johnson |
Abstract
This is a proposal to support E-mail Account Activation in Roller. If activation is enabled, then user accounts must be activated via e-mail before they can be used.
Requirements
- Support e-mail activation of new user accounts
- E-mail message must be I18N/localizable
- E-mail activation must be optional
Issues
No major issues to be considered.
Design
List and describe new manager methods, Struts actions, JSP pages, macros, etc.
- New properties
- user.account.activation.enabled=true
- user.account.activation.code.length=128
- user.account.activation.code.generation.retry=3
- user.account.activation.mail.from=activate@localhost
- Code in UserNewAction.java to send activation email
- New method un UserManager to retrieve user via activation code:
public UserData getUserByActivationCode(String activationCode) throws RollerException;
- New field in rolleruser table:
activationcode varchar(255)
See also attachment provided by Sedat, which provides detailed list of changes.
Comments
Please comment on mailing list.