summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-25 15:49:58 +0200
committerGitHub <noreply@github.com>2018-06-25 15:49:58 +0200
commit9444a3fad1b6238a431b264f162239a777fd9591 (patch)
tree60be9340aaf86257eccdc034af64d79db5e604f0 /core/templates
parente3be9efd5708ff4065212ffcac3ef2f57779b7fe (diff)
parent7be465febe2b6f8b5cee8ad95f45028b4bcc8d35 (diff)
downloadnextcloud-server-9444a3fad1b6238a431b264f162239a777fd9591.tar.gz
nextcloud-server-9444a3fad1b6238a431b264f162239a777fd9591.zip
Merge pull request #9632 from nextcloud/enhancement/stateful-2fa-providers
Stateful 2fa providers
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/twofactorselectchallenge.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php
index a1e626567e7..55d315d904d 100644
--- a/core/templates/twofactorselectchallenge.php
+++ b/core/templates/twofactorselectchallenge.php
@@ -1,6 +1,11 @@
<div class="warning">
<h2 class="two-factor-header"><?php p($l->t('Two-factor authentication')) ?></h2>
<p><?php p($l->t('Enhanced security is enabled for your account. Please authenticate using a second factor.')) ?></p>
+ <?php if ($_['providerMissing']): ?>
+ <p>
+ <strong><?php p($l->t('Could not load at least one of your enabled two-factor auth methods. Please contact your admin.')) ?></strong>
+ </p>
+ <?php endif; ?>
<p>
<ul>
<?php foreach ($_['providers'] as $provider): ?>