Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

MINOR: Make pass use a password field, dont require call by reference

git-svn-id: svn:// 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent fbbee0f commit a7d8b91b4ffa11dfe3484674f640e4aa872246df @ajoneil ajoneil committed with sminnee
Showing with 5 additions and 1 deletion.
  1. +5 −1 dev/install/config-form.html
6 dev/install/config-form.html
@@ -46,6 +46,10 @@
Please see below for details.<br />
If you are having problems meeting the requirements, see the <a href="">server requirements wiki page</a>.
+ <?php } else if(!$adminConfig['username'] || !$adminConfig['password']) { ?>
+ <p class="warning">
+ Please fill in a username and password for the admin account to install.
+ </p>
<?php } else if(!$dbReq->hasErrors()) { ?>
<p class="good">
You're ready to install! &nbsp;&nbsp;
@@ -123,7 +127,7 @@
<label for="admin_username">Administrator email:</label>
<span class="middleColumn"><input type="text" class="text" name="admin[username]" id="admin_username" value="<?php echo $adminConfig['username']; ?>" /></span>
<label for="admin_password">Administrator password:</label>
- <span class="middleColumn"><input type="text" class="text" name="admin[password]" id="admin_password" value="<?php echo $adminConfig['password']; ?>" /></span>
+ <span class="middleColumn"><input type="password" class="text" name="admin[password]" id="admin_password" value="<?php echo $adminConfig['password']; ?>" /></span>
<label for="admin_firstname">Administrator first name:</label>
<span class="middleColumn"><input type="text" class="text" name="admin[firstname]" id="admin_firstname" value="<?php echo $adminConfig['firstname']; ?>" /></span>
<label for="admin_surname">Administrator surname:</label>

0 comments on commit a7d8b91

Please sign in to comment.
Something went wrong with that request. Please try again.