]> source.dussan.org Git - nextcloud-server.git/commitdiff
adding warning about failed apache module auth
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 1 Oct 2013 23:02:46 +0000 (01:02 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 1 Oct 2013 23:02:46 +0000 (01:02 +0200)
core/templates/login.php

index 06f64d41e39e24e5efd9490eef5215b664f17cc9..aca42c84387ce44040125cc48bfcda841124bff0 100644 (file)
                        <small><?php p($l->t('Please change your password to secure your account again.')); ?></small>
                </div>
                <?php endif; ?>
+               <?php if (isset($_['apacheauthfailed']) && ($_['apacheauthfailed'])): ?>
+                       <div class="warning">
+                               <?php p($l->t('Server side authentication failed!')); ?><br>
+                               <small><?php p($l->t('Please contact your administrator.')); ?></small>
+                       </div>
+               <?php endif; ?>
                <p class="infield grouptop">
                        <input type="text" name="user" id="user" placeholder=""
                                   value="<?php p($_['username']); ?>"<?php p($_['user_autofocus'] ? ' autofocus' : ''); ?>