Completed
Push — master ( 893d2d...80cc48 )
by Morris
14:32 queued 10s
created
core/templates/twofactorselectchallenge.php 1 patch
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,11 +12,15 @@  discard block
 block discarded – undo
12 12
 			<p>
13 13
 				<?php if (is_null($_['backupProvider'])): ?>
14 14
 				<strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Contact your admin for assistance.')) ?></strong>
15
-				<?php else: ?>
15
+				<?php else {
16
+    : ?>
16 17
 				<strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Use one of your backup codes to log in or contact your admin for assistance.')) ?></strong>
17
-				<?php endif; ?>
18
+				<?php endif;
19
+}
20
+?>
18 21
 			</p>
19
-			<?php else: ?>
22
+			<?php else {
23
+    : ?>
20 24
 			<?php foreach ($_['providers'] as $provider): ?>
21 25
 				<li>
22 26
 					<a class="two-factor-provider"
@@ -29,6 +33,7 @@  discard block
 block discarded – undo
29 33
 						<?php
30 34
 						if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) {
31 35
 							$icon = $provider->getLightIcon();
36
+}
32 37
 						} else {
33 38
 							$icon = image_path('core', 'actions/password-white.svg');
34 39
 						}
Please login to merge, or discard this patch.