aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/account/forms/register.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php
index 05d92c6f7..83c1adbf1 100644
--- a/views/default/account/forms/register.php
+++ b/views/default/account/forms/register.php
@@ -15,12 +15,13 @@
<h2><?php echo elgg_echo('register'); ?></h2>
<div id="register-box">
- <form action="<?php echo $vars['url']; ?>action/register" method="POST">
+ <form action="<?php echo $vars['url']; ?>action.php" method="POST">
<p><label><?php echo elgg_echo('name'); ?><br /><input name="name" type="text" class="general-textarea" /></label><br />
<label><?php echo elgg_echo('email'); ?><br /><input name="email" type="text" class="general-textarea" /></label><br />
<label><?php echo elgg_echo('username'); ?><br /><input name="username" type="text" class="general-textarea" /></label><br />
<label><?php echo elgg_echo('password'); ?><br /><input name="password" type="password" class="general-textarea" /></label><br />
<label><?php echo elgg_echo('passwordagain'); ?><br /><input name="password2" type="password" class="general-textarea" /></label><br />
<input type="submit" name="submit" value="<?php echo elgg_echo('register'); ?>" /></p>
+ <input type="hidden" name="action" value="register" />
</form>
</div> \ No newline at end of file