Changeset 677 for trunk/services


Ignore:
Timestamp:
May 3, 2019 3:10:24 AM (5 years ago)
Author:
anonymous
Message:
 
Location:
trunk/services
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/admins.php

    r676 r677  
    241241        $fv->isEmpty('userpass', _("<strong>Password</strong> cannot be blank."));
    242242    }
    243     if ('update' == getFormData('op') && strlen(getFormData('userpass')) > 0) {
     243    if ('insert' == getFormData('op') || ('update' == getFormData('op') && strlen(getFormData('userpass')) > 0)) {
    244244        $fv->stringLength('userpass', 8, 100, _("<strong>Password</strong> must be between 8 and 100 characters long."));
    245245    }
  • trunk/services/templates/admin_form.ihtml

    r676 r677  
    3636                <input type="password" class="sc-small" size="50" name="userpass" value="" />
    3737                <?php if ('add' != getFormData('op') && 'insert' != getFormData('op')) { ?>
    38                     <div class="sc-help"><?php echo _("Leave blank unless setting a new password."); ?></div>
     38                    <div class="sc-help"><?php echo _("Leave password field empty unless you want to change it."); ?></div>
    3939                <?php } ?>
    4040            </div>
Note: See TracChangeset for help on using the changeset viewer.