X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flostpass.php;h=0d22252bdc723cf948564dcfd1fd5872fb995415;hb=050ad68b9fc21fc5cf06153d2c6d161d30b241c6;hp=af4518ca16246292a9b8a18f8461797d9e9646e1;hpb=88353ce56f0e5da6352af2d999a58bd0c9b375f7;p=friendica.git diff --git a/mod/lostpass.php b/mod/lostpass.php index af4518ca16..0d22252bdc 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -39,7 +39,7 @@ function lostpass_post(App $a) info(L10n::t('Password reset request issued. Check your email.') . EOL); } - $sitename = $a->config['sitename']; + $sitename = Config::get('config', 'sitename'); $resetlink = System::baseUrl() . '/lostpass/' . $pwdreset_token; $preamble = deindent(L10n::t(' @@ -145,7 +145,7 @@ function lostpass_generate_password($user) info("Your password has been reset." . EOL); - $sitename = $a->config['sitename']; + $sitename = Config::get('config', 'sitename'); $preamble = deindent(L10n::t(' Dear %1$s, Your password has been changed as requested. Please retain this