Permalink
Browse files

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

…th CSRF controls
  • Loading branch information...
1 parent 64a3a80 commit 17c866dcab3489aa711fa1cab14ce24f804146f8 @salgua committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/auth/pages/login.php
View
2 views/auth/pages/login.php
@@ -2,7 +2,7 @@
<h2>Login</h2>
<div class="box">
- <form method="POST">
+ <?php echo form_open(); ?>
Username/Email:<br />
<input type="text" name="username" value="<?php echo set_value('username'); ?>" size="50" class="form" /><?php echo form_error('username'); ?><br /><br />
Password:<br />

0 comments on commit 17c866d

Please sign in to comment.