diff --git a/src/app/user/controllers/UserController.php b/src/app/user/controllers/UserController.php
index f23e531201365a7105284cc76c25152beff6d0f3..054403c93283e2e3540ff0f7c486f0a267360b1c 100755
--- a/src/app/user/controllers/UserController.php
+++ b/src/app/user/controllers/UserController.php
@@ -660,7 +660,7 @@ class UserController
         $user['preferences'] = json_decode($user['preferences'], true);
         $lang = LanguageController::get(['lang' => $user['preferences']['lang']]);
 
-        $url = UrlController::getCoreUrl() . 'dist/update-password?token=' . $resetToken;
+        $url = ConfigurationModel::getApplicationUrl() . 'dist/update-password?token=' . $resetToken;
         EmailController::createEmail([
             'userId' => $user['id'],
             'data'   => [
diff --git a/src/core/controllers/AuthenticationController.php b/src/core/controllers/AuthenticationController.php
index 69f8d8c971affda22f208a2380e6875179da7a0d..184fd9e5e79e827b5877beaa2ca9bace851f633e 100755
--- a/src/core/controllers/AuthenticationController.php
+++ b/src/core/controllers/AuthenticationController.php
@@ -339,7 +339,7 @@ class AuthenticationController
             $user = UserModel::getById(['select' => ['login'], 'id' => $args['userId']]);
             $lang = LanguageController::get(['lang' => 'fr']);
     
-            $url = UrlController::getCoreUrl() . 'dist/update-password?token=' . $resetToken;
+            $url = ConfigurationModel::getApplicationUrl() . 'dist/update-password?token=' . $resetToken;
             EmailController::createEmail([
                 'userId' => $args['userId'],
                 'data'   => [