Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-28 15:22:29 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-03 16:27:26 +0300
commit6d686c213be0b07107d9329a4058c5d11421a498 (patch)
tree35d0bcef1a779be9eedff27b28f518e29a9d7ace /core/Application.php
parentb129adfb58eb98a37278dbd5a2f30b52c90cb4fc (diff)
[WIP] Use mail for encrypting the password reset token as well
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index 6c6a3768a0f..f68f7929e6a 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -44,6 +44,7 @@ class Application extends App {
parent::__construct('core');
$container = $this->getContainer();
+
$container->registerService('defaultMailAddress', function() {
return Util::getDefaultEmailAddress('lostpassword-noreply');
});