Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitba6de87

Browse files
committed
bug#44130 [SecurityBundle] Remove outdated conditions based on authenticatorManagerEnabled (chalasr)
This PR was merged into the 6.0 branch.Discussion----------[SecurityBundle] Remove outdated conditions based on authenticatorManagerEnabled| Q | A| ------------- | ---| Branch? | 6.0| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | -| License | MIT| Doc PR | -The authenticator manager must be enabled as of 6.0.https://github.com/symfony/symfony/blob/a1c9f1095e37977e7e9d65ee56be7378385b5c37/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php#L94Commits-------b87cda7 [SecurityBundle] Remove dead conditions based on authenticatorManagerEnabled
2 parentsa1c9f10 +b87cda7 commitba6de87

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

‎src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig‎

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
{%blocktoolbar %}
66
{%ifcollector.firewall %}
7-
{%setcolor_code=collector.enabledandnotcollector.authenticatorManagerEnabled?'yellow' %}
8-
97
{%seticon %}
108
{{include('@Security/Collector/icon.svg') }}
119
<spanclass="sf-toolbar-value">{{collector.user|default('n/a') }}</span>
@@ -85,7 +83,7 @@
8583
</div>
8684
{%endset %}
8785

88-
{{include('@WebProfiler/Profiler/toolbar_item.html.twig', {link:profiler_url,status:color_code }) }}
86+
{{include('@WebProfiler/Profiler/toolbar_item.html.twig', {link:profiler_url }) }}
8987
{%endif %}
9088
{%endblock %}
9189

@@ -176,12 +174,6 @@
176174
<spanclass="value">{{include('@WebProfiler/Icon/' ~ (collector.firewall.stateless ?'yes' :'no')~'.svg') }}</span>
177175
<spanclass="label">Stateless</span>
178176
</div>
179-
{%ifcollector.authenticatorManagerEnabled==false %}
180-
<divclass="metric">
181-
<spanclass="value">{{include('@WebProfiler/Icon/' ~ (collector.firewall.allows_anonymous ?'yes' :'no')~'.svg') }}</span>
182-
<spanclass="label">Allows anonymous</span>
183-
</div>
184-
{%endif %}
185177
</div>
186178

187179
{%ifcollector.firewall.security_enabled %}
@@ -218,17 +210,10 @@
218210
<th>access_denied_url</th>
219211
<td>{{collector.firewall.access_denied_url ?:'(none)' }}</td>
220212
</tr>
221-
{%ifcollector.authenticatorManagerEnabled %}
222-
<tr>
223-
<th>authenticators</th>
224-
<td>{{collector.firewall.authenticatorsisempty?'(none)': profiler_dump(collector.firewall.authenticators, maxDepth=1) }}</td>
225-
</tr>
226-
{%else %}
227-
<tr>
228-
<th>listeners</th>
229-
<td>{{collector.firewall.listenersisempty?'(none)': profiler_dump(collector.firewall.listeners, maxDepth=1) }}</td>
230-
</tr>
231-
{%endif %}
213+
<tr>
214+
<th>authenticators</th>
215+
<td>{{collector.firewall.authenticatorsisempty?'(none)': profiler_dump(collector.firewall.authenticators, maxDepth=1) }}</td>
216+
</tr>
232217
</tbody>
233218
</table>
234219
{%endif %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp