diff options
author | Myles McNamara <myles@hostt.net> | 2013-08-03 00:00:32 -0400 |
---|---|---|
committer | Myles McNamara <myles@hostt.net> | 2013-08-03 00:00:32 -0400 |
commit | 8edc0f210bd95a917551cf785584182bcfe867e1 (patch) | |
tree | 9a1209a19d239cdbae931b6125aa1675a5544a22 /core/lostpassword | |
parent | afc8ee721df7e17e9855c383c529a2e7838ad748 (diff) | |
download | nextcloud-server-8edc0f210bd95a917551cf785584182bcfe867e1.tar.gz nextcloud-server-8edc0f210bd95a917551cf785584182bcfe867e1.zip |
use theme name and title for password reset
password reset email uses owncloud, updated to use theme settings
Diffstat (limited to 'core/lostpassword')
-rw-r--r-- | core/lostpassword/controller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/lostpassword/controller.php b/core/lostpassword/controller.php index 2f996365219..de7af21c07b 100644 --- a/core/lostpassword/controller.php +++ b/core/lostpassword/controller.php @@ -57,7 +57,8 @@ class OC_Core_LostPassword_Controller { $l = OC_L10N::get('core'); $from = OCP\Util::getDefaultEmailAddress('lostpassword-noreply'); try { - OC_Mail::send($email, $_POST['user'], $l->t('ownCloud password reset'), $msg, $from, 'ownCloud'); + $defaults = new OC_Defaults(); + OC_Mail::send($email, $_POST['user'], $l->t($defaults->getTitle(); . ' password reset'), $msg, $from, $defaults->getName()); } catch (Exception $e) { OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.'); } |