Clear the blacklist matches when enabling users
authorAlexander Ebert <ebert@woltlab.com>
Fri, 12 Apr 2019 14:51:00 +0000 (16:51 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 12 Apr 2019 14:51:00 +0000 (16:51 +0200)
Fixes #2892

wcfsetup/install/files/lib/data/user/UserAction.class.php

index d863d33249ffff2441ef8b795f5bc3a2d8c110c0..f8cea74a7f0987af8821d6d8f4e1cdd81d0ef5ab 100644 (file)
@@ -626,7 +626,8 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio
                
                $action = new UserAction($this->objects, 'update', [
                        'data' => [
-                               'activationCode' => 0
+                               'activationCode' => 0,
+                               'blacklistMatches' => '',
                        ],
                        'removeGroups' => UserGroup::getGroupIDsByType([UserGroup::GUESTS])
                ]);