Skip to content

Commit

Permalink
Fixed issue : no need to confirm database password
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11306 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Shnoulle committed Nov 1, 2011
1 parent 53c96ae commit 54a88c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion application/controllers/installer.php
Expand Up @@ -327,7 +327,6 @@ private function stepDatabaseConfiguration()
$this->form_validation->set_rules('dblocation', 'Database Location', 'required');
$this->form_validation->set_rules('dbname', 'Database Name', 'required');
$this->form_validation->set_rules('dbuser', 'Database User', 'required');
$this->form_validation->set_rules('dbconfirmpwd', 'Confirm Password', 'matches[dbpwd]');
$this->form_validation->set_rules('dbprefix', 'Database Prefix', 'not required');

//setting custom error message for confirm password field
Expand Down
9 changes: 1 addition & 8 deletions application/views/installer/dbconfig_view.php
Expand Up @@ -70,13 +70,6 @@
</td>
<td style="width: 224px;" align="right"><input name="dbpwd" value="" type="password" /><?php echo "<br/>".form_error('dbpwd'); ?></td>
</tr>
<tr>
<td style="width: 428px;">
<b><?php echo $clang->gT("Confirm Password"); ?></b> <br />
<div class="description-field"><?php echo $clang->gT("Confirm your database server password."); ?></div>
</td>
<td style="width: 224px;" align="right"><input name="dbconfirmpwd" value="" type="password" /><?php echo "<br/>".form_error('dbconfirmpwd'); ?></td>
</tr>
<tr>
<td style="width: 428px;">
<b><?php echo $clang->gT("Database Prefix"); ?></b> <br />
Expand Down Expand Up @@ -113,4 +106,4 @@

</form>

<?php $this->load->view("installer/footer_view"); ?>
<?php $this->load->view("installer/footer_view"); ?>

0 comments on commit 54a88c2

Please sign in to comment.