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

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--.php-cs-fixer.dist.php (renamed from .php_cs.dist)0
-rw-r--r--lib/Service/RegistrationService.php2
3 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index f477c3f..f2c593c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+/.php-cs-fixer.cache
/.php_cs.cache
/build
/node_modules
diff --git a/.php_cs.dist b/.php-cs-fixer.dist.php
index f7bbdd8..f7bbdd8 100644
--- a/.php_cs.dist
+++ b/.php-cs-fixer.dist.php
diff --git a/lib/Service/RegistrationService.php b/lib/Service/RegistrationService.php
index 3eefa6d..71fb25b 100644
--- a/lib/Service/RegistrationService.php
+++ b/lib/Service/RegistrationService.php
@@ -430,7 +430,7 @@ class RegistrationService {
$adminApprovalRequired = $this->config->getAppValue($this->appName, 'admin_approval_required', 'no');
if ($adminApprovalRequired === 'yes') {
$user->setEnabled(false);
- $this->config->setUserValue($userId, Application::APP_ID,'send_welcome_mail_on_enable', 'yes');
+ $this->config->setUserValue($userId, Application::APP_ID, 'send_welcome_mail_on_enable', 'yes');
} else {
$this->sendWelcomeMail($user);
}