Completed
Push — master ( 1846e1...5ca5eb )
by Lukas
14:47
created
core/templates/twofactorshowchallenge.php 3 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
 		<a class="button" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a>
26 26
 		<?php if (!is_null($_['backupProvider'])): ?>
27 27
 		<a class="button" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge',
28
-												[
29
-													'challengeProviderId' => $_['backupProvider']->getId(),
30
-													'redirect_url' => $_['redirect_url'],
31
-												]
32
-											)) ?>"><?php p($l->t('Use backup code')) ?></a>
28
+                                                [
29
+                                                    'challengeProviderId' => $_['backupProvider']->getId(),
30
+                                                    'redirect_url' => $_['redirect_url'],
31
+                                                ]
32
+                                            )) ?>"><?php p($l->t('Use backup code')) ?></a>
33 33
 		<?php endif; ?>
34 34
 	</p>
35 35
 </div>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 <div class="warning">
15 15
 	<h2 class="two-factor-header"><?php p($provider->getDisplayName()); ?></h2>
16 16
 	<?php if ($error): ?>
17
-			<?php if($error_message): ?>
17
+			<?php if ($error_message): ?>
18 18
 				<p><strong><?php p($error_message); ?></strong></p>
19 19
 			<?php else: ?>
20 20
 				<p><strong><?php p($l->t('Error while validating your second factor')); ?></strong></p>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,11 @@
 block discarded – undo
16 16
 	<?php if ($error): ?>
17 17
 			<?php if($error_message): ?>
18 18
 				<p><strong><?php p($error_message); ?></strong></p>
19
-			<?php else: ?>
20
-				<p><strong><?php p($l->t('Error while validating your second factor')); ?></strong></p>
19
+			<?php else {
20
+    : ?>
21
+				<p><strong><?php p($l->t('Error while validating your second factor'));
22
+}
23
+?></strong></p>
21 24
 			<?php endif; ?>
22 25
 	<?php endif; ?>
23 26
 	<?php print_unescaped($template); ?>
Please login to merge, or discard this patch.
core/templates/twofactorselectchallenge.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@  discard block
 block discarded – undo
7 7
 				<li>
8 8
 					<a class="button two-factor-provider"
9 9
 					   href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge',
10
-										[
11
-											'challengeProviderId' => $provider->getId(),
12
-											'redirect_url' => $_['redirect_url'],
13
-										]
14
-									)) ?>">
10
+                                        [
11
+                                            'challengeProviderId' => $provider->getId(),
12
+                                            'redirect_url' => $_['redirect_url'],
13
+                                        ]
14
+                                    )) ?>">
15 15
 						<?php p($provider->getDescription()) ?>
16 16
 					</a>
17 17
 				</li>
@@ -22,11 +22,11 @@  discard block
 block discarded – undo
22 22
 		<a class="button" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a>
23 23
 		<?php if (!is_null($_['backupProvider'])): ?>
24 24
 		<a class="button" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge',
25
-												[
26
-													'challengeProviderId' => $_['backupProvider']->getId(),
27
-													'redirect_url' => $_['redirect_url'],
28
-												]
29
-											)) ?>"><?php p($l->t('Use backup code')) ?></a>
25
+                                                [
26
+                                                    'challengeProviderId' => $_['backupProvider']->getId(),
27
+                                                    'redirect_url' => $_['redirect_url'],
28
+                                                ]
29
+                                            )) ?>"><?php p($l->t('Use backup code')) ?></a>
30 30
 		<?php endif; ?>
31 31
 	</p>
32 32
 </div>
Please login to merge, or discard this patch.