diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .php-cs-fixer.dist.php (renamed from .php_cs.dist) | 0 | ||||
-rw-r--r-- | lib/Service/RegistrationService.php | 2 |
3 files changed, 2 insertions, 1 deletions
@@ -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); } |