mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-21 18:25:02 -04:00
Merge branch 'master' into feature-complete-russian-and-azerbaijani-translations
This commit is contained in:
1 file changed
+1
-1
@@ -29,7 +29,7 @@ class Email_lib
|
||||
$encrypter = Services::encrypter();
|
||||
|
||||
$smtp_pass = $this->config['smtp_pass'] ?? '';
|
||||
if (!empty($smtp_pass) && check_encryption()) {
|
||||
if (!empty($smtp_pass) && checkEncryption()) {
|
||||
try {
|
||||
$smtp_pass = $encrypter->decrypt($smtp_pass);
|
||||
} catch (\EncryptionException $e) {
|
||||
|
||||
Reference in new issue
Block a user