mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 12:17:02 -04:00
Center auth login logo
This commit is contained in:
parent
0bd0c0d2a1
commit
a37bf5cb70
@ -17,6 +17,7 @@ use Coconuts\Mail\PostmarkTransport;
|
|||||||
use GuzzleHttp\Client as HttpClient;
|
use GuzzleHttp\Client as HttpClient;
|
||||||
use Illuminate\Mail\MailServiceProvider as MailProvider;
|
use Illuminate\Mail\MailServiceProvider as MailProvider;
|
||||||
use Illuminate\Mail\TransportManager;
|
use Illuminate\Mail\TransportManager;
|
||||||
|
use Illuminate\Container\Container;
|
||||||
|
|
||||||
class MailServiceProvider extends MailProvider
|
class MailServiceProvider extends MailProvider
|
||||||
{
|
{
|
||||||
@ -33,11 +34,17 @@ class MailServiceProvider extends MailProvider
|
|||||||
|
|
||||||
protected function registerIlluminateMailer()
|
protected function registerIlluminateMailer()
|
||||||
{
|
{
|
||||||
//this is not octane safe
|
// //this is not octane safe
|
||||||
$this->app->singleton('mail.manager', function($app) {
|
$this->app->singleton('mail.manager', function($app) {
|
||||||
return new GmailTransportManager($app);
|
return new GmailTransportManager($app);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
//this is octane ready - but is untested
|
||||||
|
// $this->app->bind('mail.manager', function ($app){
|
||||||
|
// return new GmailTransportManager($app);
|
||||||
|
// });
|
||||||
|
|
||||||
$this->app->bind('mailer', function ($app) {
|
$this->app->bind('mailer', function ($app) {
|
||||||
return $app->make('mail.manager')->mailer();
|
return $app->make('mail.manager')->mailer();
|
||||||
});
|
});
|
||||||
|
@ -164,6 +164,8 @@ class SystemHealth
|
|||||||
|
|
||||||
private static function extensions(): array
|
private static function extensions(): array
|
||||||
{
|
{
|
||||||
|
$loaded_extensions = null;
|
||||||
|
|
||||||
$loaded_extensions = [];
|
$loaded_extensions = [];
|
||||||
|
|
||||||
foreach (self::$extensions as $extension) {
|
foreach (self::$extensions as $extension) {
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
@elseif(isset($company) && !is_null($company))
|
@elseif(isset($company) && !is_null($company))
|
||||||
<div>
|
<div>
|
||||||
<img src="{{ $company->present()->logo() }}"
|
<img src="{{ $company->present()->logo() }}"
|
||||||
class="border-b border-gray-100 h-18 pb-4" alt="{{ $company->present()->name() }} logo">
|
class="mx-auto border-b border-gray-100 h-18 pb-4" alt="{{ $company->present()->name() }} logo">
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user