| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function __invoke() |
||
| 16 | { |
||
| 17 | $this->authorize('viewAny', AppSettings::class); |
||
| 18 | |||
| 19 | return Inertia::render('Admin/App/Email', [ |
||
| 20 | 'settings' => [ |
||
| 21 | 'host' => config('mail.mailers.smtp.host'), |
||
| 22 | 'port' => config('mail.mailers.smtp.port'), |
||
| 23 | 'encryption' => config('mail.mailers.smtp.encryption'), |
||
| 24 | 'username' => config('mail.mailers.smtp.username'), |
||
| 25 | 'from_address' => config('mail.from.address'), |
||
| 26 | ], |
||
| 30 |