Completed
Push — master ( 0c05ed...b25307 )
by Morris
33:49
created
lib/private/Settings/Personal/Security.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,12 +106,12 @@
 block discarded – undo
106 106
 		}
107 107
 
108 108
 		return [
109
-			'providers' => array_map(function (IProvidesPersonalSettings $provider) use ($user) {
109
+			'providers' => array_map(function(IProvidesPersonalSettings $provider) use ($user) {
110 110
 				return [
111 111
 					'provider' => $provider,
112 112
 					'settings' => $provider->getPersonalSettings($user)
113 113
 				];
114
-			}, array_filter($this->providerLoader->getProviders($user), function (IProvider $provider) {
114
+			}, array_filter($this->providerLoader->getProviders($user), function(IProvider $provider) {
115 115
 				return $provider instanceof IProvidesPersonalSettings;
116 116
 			}))
117 117
 		];
Please login to merge, or discard this patch.
settings/templates/settings/personal/security.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 	'settings/authtoken-init'
30 30
 ]);
31 31
 
32
-if($_['passwordChangeSupported']) {
32
+if ($_['passwordChangeSupported']) {
33 33
 	script('settings', 'security_password');
34 34
 	script('jquery-showpassword');
35 35
 	vendor_script('strengthify/jquery.strengthify');
@@ -37,19 +37,19 @@  discard block
 block discarded – undo
37 37
 }
38 38
 
39 39
 ?>
40
-<?php if($_['passwordChangeSupported']) { ?>
40
+<?php if ($_['passwordChangeSupported']) { ?>
41 41
 <div id="security-password" class="section">
42
-	<h2 class="inlineblock"><?php p($l->t('Password'));?></h2>
42
+	<h2 class="inlineblock"><?php p($l->t('Password')); ?></h2>
43 43
 	<span id="password-error-msg" class="msg success hidden">Saved</span>
44 44
 	<div class="personal-settings-setting-box personal-settings-password-box">
45 45
 			<form id="passwordform">
46 46
 				<label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label>
47 47
 				<input type="password" id="pass1" name="oldpassword"
48
-					   placeholder="<?php p($l->t('Current password'));?>"
48
+					   placeholder="<?php p($l->t('Current password')); ?>"
49 49
 					   autocomplete="off" autocapitalize="none" autocorrect="off" />
50 50
 
51 51
 				<div class="personal-show-container">
52
-					<label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label>
52
+					<label for="pass2" class="hidden-visually"><?php p($l->t('New password')); ?>: </label>
53 53
 					<input type="password" id="pass2" name="newpassword"
54 54
 						   placeholder="<?php p($l->t('New password')); ?>"
55 55
 						   data-typetoggle="#personal-show"
@@ -66,14 +66,14 @@  discard block
 block discarded – undo
66 66
 <?php } ?>
67 67
 
68 68
 <div id="security" class="section">
69
-	<h2><?php p($l->t('Devices & sessions'));?></h2>
70
-	<p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></p>
69
+	<h2><?php p($l->t('Devices & sessions')); ?></h2>
70
+	<p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.')); ?></p>
71 71
 	<table class="icon-loading">
72 72
 		<thead class="token-list-header">
73 73
 			<tr>
74 74
 				<th></th>
75
-				<th><?php p($l->t('Device'));?></th>
76
-				<th><?php p($l->t('Last activity'));?></th>
75
+				<th><?php p($l->t('Device')); ?></th>
76
+				<th><?php p($l->t('Last activity')); ?></th>
77 77
 				<th></th>
78 78
 			</tr>
79 79
 		</thead>
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 </div>
104 104
 
105 105
 <div id="two-factor-auth" class="section">
106
-	<h2><?php p($l->t('Two-Factor Authentication'));?></h2>
106
+	<h2><?php p($l->t('Two-Factor Authentication')); ?></h2>
107 107
 	<ul>
108 108
 	<?php foreach ($_['twoFactorProviderData']['providers'] as $data) { ?>
109 109
 		<li>
Please login to merge, or discard this patch.