update mail provider
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Providers;
|
namespace App\Providers;
|
||||||
|
|
||||||
use App\Http\Facade\SignRSA;
|
use App\Http\Services\SignRSA;
|
||||||
use App\Models\Setting;
|
use App\Models\Setting;
|
||||||
use App\Support\Cache\CacheKey;
|
use App\Support\Cache\CacheKey;
|
||||||
use Illuminate\Support\Facades\App;
|
use Illuminate\Support\Facades\App;
|
||||||
@@ -56,7 +56,7 @@ class MailConfigServiceProvider extends ServiceProvider
|
|||||||
],
|
],
|
||||||
'encryption' => $mail->encryption === 0 ? 'tls' : $mail->encryption,
|
'encryption' => $mail->encryption === 0 ? 'tls' : $mail->encryption,
|
||||||
'username' => $mail->user ?? '',
|
'username' => $mail->user ?? '',
|
||||||
'password' => isset($mail->password) ? SignRSA::DecryptFunc($mail->password) : '',
|
'password' => isset($mail->password) ? (new SignRSA())->DecryptFunc($mail->password) : '',
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user