diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-08-28 14:22:29 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-03 14:27:26 +0100 |
commit | 6d686c213be0b07107d9329a4058c5d11421a498 (patch) | |
tree | 35d0bcef1a779be9eedff27b28f518e29a9d7ace /core/Application.php | |
parent | b129adfb58eb98a37278dbd5a2f30b52c90cb4fc (diff) | |
download | nextcloud-server-6d686c213be0b07107d9329a4058c5d11421a498.tar.gz nextcloud-server-6d686c213be0b07107d9329a4058c5d11421a498.zip |
[WIP] Use mail for encrypting the password reset token as well
Diffstat (limited to 'core/Application.php')
-rw-r--r-- | core/Application.php | 1 |
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'); }); |