mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-11 05:28:41 +00:00
more code fixes
This commit is contained in:
parent
5065d38e2e
commit
a5e544b8e2
|
|
@ -399,7 +399,7 @@ final class ApiController extends Controller
|
|||
$mail->template,
|
||||
[
|
||||
'{reset_link}' => $resetLink,
|
||||
'{user_name}' => $account->login,
|
||||
'{user_name}' => (string) $account->login,
|
||||
]
|
||||
);
|
||||
|
||||
|
|
@ -534,7 +534,7 @@ final class ApiController extends Controller
|
|||
$mail->template,
|
||||
[
|
||||
'{new_password}' => $pass,
|
||||
'{user_name}' => $account->login,
|
||||
'{user_name}' => (string) $account->login,
|
||||
]
|
||||
);
|
||||
|
||||
|
|
@ -1964,7 +1964,7 @@ final class ApiController extends Controller
|
|||
'{confirmation_link}' => UriFactory::hasQuery('/' . \strtolower($app->name))
|
||||
? UriFactory::build('{/' . \strtolower($app->name) . '}/' . \strtolower($app->name) . '/signup/confirmation?hash=' . $dataChange->getHash())
|
||||
: UriFactory::build('{/tld}/{/lang}/' . \strtolower($app->name) . '/signup/confirmation?hash=' . $dataChange->getHash()),
|
||||
'{user_name}' => $account->login,
|
||||
'{user_name}' => (string) $account->login,
|
||||
]
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ final class CliController extends Controller
|
|||
$mapper = SettingMapper::yield()
|
||||
->where('isEncrypted', true);
|
||||
|
||||
foreach ($mapper->execute() as $setting) {
|
||||
foreach ($mapper->executeYield() as $setting) {
|
||||
$decrypted = empty($data['old']) || empty($setting->content)
|
||||
? $setting->content
|
||||
: EncryptionHelper::decryptShared($setting->content ?? '', $data['old']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user