diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-12-18 23:08:00 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-12-18 23:10:43 +0100 |
commit | e1b9b65e4159bdd6e0ed81c8cd6b588f03b3a018 (patch) | |
tree | 18ac3ff6e84e9d743da51ab097e8c09986d384c3 /core | |
parent | d5e9c7d5724d30b659119e11f567492d30f0581c (diff) | |
download | nextcloud-server-e1b9b65e4159bdd6e0ed81c8cd6b588f03b3a018.tar.gz nextcloud-server-e1b9b65e4159bdd6e0ed81c8cd6b588f03b3a018.zip |
Use correct appid for lostpassword email preference
Diffstat (limited to 'core')
-rw-r--r-- | core/lostpassword/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/index.php b/core/lostpassword/index.php index de0d393ec78..ede94dab2d7 100644 --- a/core/lostpassword/index.php +++ b/core/lostpassword/index.php @@ -14,7 +14,7 @@ if (isset($_POST['user'])) { if (OC_User::userExists($_POST['user'])) { $token = sha1($_POST['user']+uniqId()); OC_Preferences::setValue($_POST['user'], 'owncloud', 'lostpassword', $token); - $email = OC_Preferences::getValue($_POST['user'], 'lostpassword', 'email', ''); + $email = OC_Preferences::getValue($_POST['user'], 'settings', 'email', ''); if (!empty($email)) { $link = OC_Helper::linkTo('core/lostpassword', 'resetpassword.php', null, true).'?user='.$_POST['user'].'&token='.$token; $tmpl = new OC_Template('core/lostpassword', 'email'); |