We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6483079 commit 516db46Copy full SHA for 516db46
src/LaravelSamlIdpServiceProvider.php
@@ -88,9 +88,7 @@ public function offerPublishing()
88
public function registerBladeComponents()
89
{
90
Blade::directive('samlidp', function ($expression) {
91
- if (request()->filled('SAMLRequest')) {
92
- return "<?php echo view('samlidp::components.input'); ?>";
93
- }
+ return "<?php echo request()->filled('SAMLRequest') ? view('samlidp::components.input') : ''; ?>";
94
});
95
}
96
0 commit comments