Permalink
Browse files

Replaced the form open tag with <?php echo form_open(); ?> to work wi…

…th CSRF controls
  • Loading branch information...
1 parent 17c866d commit 1e823984c53b31fcd254bc1cf565225fead06160 @salgua salgua committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/auth/pages/register.php
@@ -7,7 +7,7 @@
<?php } ?>
<div class="box">
- <form method="post">
+ <?php echo form_open(); ?>
<?php if(empty($username)) { ?>
Username:<br />
<input type="text" name="username" size="50" class="form" value="<?php echo set_value('username'); ?>" /><br /><?php echo form_error('username'); ?><br />

0 comments on commit 1e82398

Please sign in to comment.