]> source.dussan.org Git - nextcloud-server.git/commitdiff
Made password field required on client side
authorVladimir Sapronov <vladimir.sapronov@gmail.com>
Sun, 22 Dec 2013 22:43:50 +0000 (17:43 -0500)
committerVladimir Sapronov <vladimir.sapronov@gmail.com>
Sun, 22 Dec 2013 22:43:50 +0000 (17:43 -0500)
Fix for case described in https://github.com/syncloud/owncloud-setup/issues/19

core/templates/installation.php

index 325eb20486887841c180754d6780e40f1f11c1c2..ec55a65ea58b3d9e9b7517194c8ab166e8c1d7ac 100644 (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" />