summaryrefslogtreecommitdiffstats
path: root/core/lostpassword/application.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lostpassword/application.php')
-rw-r--r--core/lostpassword/application.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/lostpassword/application.php b/core/lostpassword/application.php
index f39f8aee75e..ba2f3fc633b 100644
--- a/core/lostpassword/application.php
+++ b/core/lostpassword/application.php
@@ -14,6 +14,8 @@ use \OCP\AppFramework\App;
use OC\Core\LostPassword\Controller\LostController;
class Application extends App {
+
+
public function __construct(array $urlParams=array()){
parent::__construct('core', $urlParams);
@@ -27,12 +29,16 @@ class Application extends App {
$c->query('AppName'),
$c->query('Request'),
$c->query('ServerContainer')->getURLGenerator(),
- '\OC_User',
+ $c->query('ServerContainer')->getUserManager(),
new \OC_Defaults(),
$c->query('ServerContainer')->getL10N('core'),
+ $c->query('ServerContainer')->getConfig(),
+ $c->query('ServerContainer')->getUserSession(),
\OCP\Util::getDefaultEmailAddress('lostpassword-noreply'),
\OC_App::isEnabled('files_encryption')
);
});
}
+
+
}