]> source.dussan.org Git - nextcloud-server.git/commitdiff
refactor(core): remove sudo-login-form layout 42837/head
authorGrigorii K. Shartsev <me@shgk.me>
Tue, 16 Jan 2024 10:12:29 +0000 (11:12 +0100)
committerGrigorii K. Shartsev <me@shgk.me>
Tue, 16 Jan 2024 10:32:36 +0000 (11:32 +0100)
This form has never been used and existed only during the introduting the first password confirmation.
- PR 1447

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
core/templates/layout.user.php

index 9c23930f324913e6507dc45e0999af12e89d5209..cb45d2b69c1694a356b4dc95d4104b96c5e72074 100644 (file)
@@ -75,16 +75,6 @@ p($theme->getTitle());
                        </div>
                </header>
 
-               <div id="sudo-login-background" class="hidden"></div>
-               <form id="sudo-login-form" class="hidden" method="POST">
-                       <label>
-                               <?php p($l->t('This action requires you to confirm your password')); ?><br/>
-                               <input type="password" class="question" autocomplete="new-password" name="question" value=" <?php /* Hack against browsers ignoring autocomplete="off" */ ?>"
-                               placeholder="<?php p($l->t('Confirm your password')); ?>" />
-                       </label>
-                       <input class="confirm" value="<?php p($l->t('Confirm')); ?>" type="submit">
-               </form>
-
                <main id="content" class="app-<?php p($_['appid']) ?>">
                        <h1 class="hidden-visually" id="page-heading-level-1">
                                <?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?>