File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Bundle/SecurityBundle/Resources/views/Collector
Component/Security/Http/Authenticator/Debug Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 318
318
319
319
<tr >
320
320
<td class =" font-normal" >{{ profiler_dump(listener .stub ) }}</td >
321
- <td class =" no-wrap" >{{ ' %0.2f' | format (listener .time * 1000 ) }} ms </td >
321
+ <td class =" no-wrap" >{{ listener . time is null ? ' (none) ' : ' %0.2f ms ' | format (listener .time * 1000 ) }}</td >
322
322
<td class =" font-normal" >{{ listener .response ? profiler_dump(listener .response ) : ' (none)' }}</td >
323
323
</tr >
324
324
362
362
<td class =" font-normal" >{{ profiler_dump(authenticator .stub ) }}</td >
363
363
<td class =" no-wrap" >{{ source (' @WebProfiler/Icon/' ~ (authenticator .supports ? ' yes' : ' no' ) ~ ' .svg' ) }}</td >
364
364
<td class =" no-wrap" >{{ authenticator .authenticated is not null ? source (' @WebProfiler/Icon/' ~ (authenticator .authenticated ? ' yes' : ' no' ) ~ ' .svg' ) : ' ' }}</td >
365
- <td class =" no-wrap" >{{ ' %0.2f' | format (authenticator .duration * 1000 ) }} ms </td >
365
+ <td class =" no-wrap" >{{ authenticator . duration is null ? ' (none) ' : ' %0.2f ms ' | format (authenticator .duration * 1000 ) }}</td >
366
366
<td class =" font-normal" >{{ authenticator .passport ? profiler_dump(authenticator .passport ) : ' (none)' }}</td >
367
367
<td class =" font-normal" >
368
368
{% for badge in authenticator .badges ?? [] %}
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function authenticate(RequestEvent $event): void
52
52
'supports ' => false ,
53
53
'stub ' => $ this ->hasVardumper ? new ClassStub ($ skippedAuthenticator ::class) : $ skippedAuthenticator ::class,
54
54
'passport ' => null ,
55
- 'duration ' => 0 ,
55
+ 'duration ' => null ,
56
56
'authenticated ' => null ,
57
57
'badges ' => [],
58
58
];
You can’t perform that action at this time.
0 commit comments