MODX Cloud

The Most Productive MODX Learning Playground Ever

Claim Free Lab Account

Login.ConfirmRegister

Version 1 by Shaun McCormick
on Aug 13, 2010 08:42.

compared with
Current by Shaun McCormick
on May 27, 2011 10:51.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
This would send the User the email specified in the "myActivationEmailTpl" chunk, with the specified subject line, which will direct the User to the Resource 26 - the Resource you put the ConfirmRegister snippet call in - to activate their account.

h3. Default Properties

ConfirmRegister has some default properties packaged into it. They are:

||Name||Description||Default||
|redirectTo|Optional. After a successful confirmation, redirect to this Resource.| |
|redirectParams|Optional. A JSON object of parameters to pass when redirecting using redirectTo.| |
|authenticate|Authenticate and login the user to the current context after confirming registration.|1|
|authenticateContexts|Optional. A comma-separated list of contexts to authenticate to. Defaults to the current context.| |
|errorPage|Optional. If set, will redirect user to a custom error page if they try to access this page after activating their account.|




h3. Events