There was an error while loading. Please reload this page.
1 parent 16ed190 commit f5431b7Copy full SHA for f5431b7
1 file changed
src/Http/ViewModels/UserPasswordViewModel.php
@@ -66,7 +66,7 @@ private function methodActions(AuthMethodInterface $method): array
66
'icon' => $item['icon'] ?? null,
67
'action' => $item['action'] ?? null,
68
'requireElevatedSession' => (bool) ($item['requireElevatedSession'] ?? false),
69
- 'download' => isset($item['action']) && str_contains($item['action'], 'download'),
+ 'download' => isset($item['action']) && str_contains((string) $item['action'], 'download'),
70
])
71
->values()
72
->all();
0 commit comments