Made password field required on client side

Fix for case described in https://github.com/syncloud/owncloud-setup/issues/19
This commit is contained in:
Vladimir Sapronov 2013-12-22 17:43:50 -05:00
parent f60ecfc7fd
commit cef39243f8
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
</p>
<p class="infield groupbottom">
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass" placeholder=""
value="<?php p(OC_Helper::init_var('adminpass')); ?>" />
value="<?php p(OC_Helper::init_var('adminpass')); ?>" required />
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
<img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="" />
<input type="checkbox" id="show" name="show" />