diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-02 01:48:20 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-02 01:48:20 +0000 |
commit | 06b07bb28ed7d72b682b217d4637865b257f566c (patch) | |
tree | a3e171de6b53335aaa9a15296cc22788c84b11f4 /actions | |
parent | a112284bc2420bb8cfb336857ad3d772cd0f3ed3 (diff) | |
download | elgg-06b07bb28ed7d72b682b217d4637865b257f566c.tar.gz elgg-06b07bb28ed7d72b682b217d4637865b257f566c.tar.bz2 |
Refs #3233 registration form should be sticky too
git-svn-id: http://code.elgg.org/elgg/trunk@8902 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r-- | actions/register.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actions/register.php b/actions/register.php index 33ee19aee..360b7cb4b 100644 --- a/actions/register.php +++ b/actions/register.php @@ -6,6 +6,8 @@ * @subpackage User.Account */ +elgg_make_sticky_form('register'); + // Get variables $username = get_input('username'); $password = get_input('password'); @@ -28,6 +30,8 @@ if (elgg_get_config('allow_registration')) { $guid = register_user($username, $password, $name, $email, false, $friend_guid, $invitecode); if ($guid) { + elgg_clear_sticky_form('register'); + $new_user = get_entity($guid); // allow plugins to respond to self registration |