@@ -22,13 +22,13 @@ discard block |
||
22 | 22 | */ |
23 | 23 | |
24 | 24 | script('settings', [ |
25 | - 'templates', |
|
26 | - 'vue-settings-personal-security', |
|
25 | + 'templates', |
|
26 | + 'vue-settings-personal-security', |
|
27 | 27 | ]); |
28 | 28 | |
29 | 29 | if($_['passwordChangeSupported']) { |
30 | - script('settings', 'security_password'); |
|
31 | - script('jquery-showpassword'); |
|
30 | + script('settings', 'security_password'); |
|
31 | + script('jquery-showpassword'); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | ?> |
@@ -70,16 +70,16 @@ discard block |
||
70 | 70 | <?php foreach ($_['twoFactorProviderData']['providers'] as $data) { ?> |
71 | 71 | <li> |
72 | 72 | <?php |
73 | - /** @var \OCP\Authentication\TwoFactorAuth\IProvidesPersonalSettings $provider */ |
|
74 | - $provider = $data['provider']; |
|
75 | - if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) { |
|
76 | - $icon = $provider->getDarkIcon(); |
|
77 | - } else { |
|
78 | - $icon = image_path('core', 'actions/password.svg'); |
|
79 | - } |
|
80 | - /** @var \OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings $settings */ |
|
81 | - $settings = $data['settings']; |
|
82 | - ?> |
|
73 | + /** @var \OCP\Authentication\TwoFactorAuth\IProvidesPersonalSettings $provider */ |
|
74 | + $provider = $data['provider']; |
|
75 | + if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) { |
|
76 | + $icon = $provider->getDarkIcon(); |
|
77 | + } else { |
|
78 | + $icon = image_path('core', 'actions/password.svg'); |
|
79 | + } |
|
80 | + /** @var \OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings $settings */ |
|
81 | + $settings = $data['settings']; |
|
82 | + ?> |
|
83 | 83 | <h3> |
84 | 84 | <img class="two-factor-provider-settings-icon" src="<?php p($icon) ?>" alt=""> |
85 | 85 | <?php p($provider->getDisplayName()) ?> |