From: Alexander Ebert Date: Fri, 12 Apr 2019 14:51:00 +0000 (+0200) Subject: Clear the blacklist matches when enabling users X-Git-Tag: 5.2.0_Alpha_1~153 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=573b1e3e3e4266dbd0432bfdf0b73c8244e077e6;p=GitHub%2FWoltLab%2FWCF.git Clear the blacklist matches when enabling users Fixes #2892 --- diff --git a/wcfsetup/install/files/lib/data/user/UserAction.class.php b/wcfsetup/install/files/lib/data/user/UserAction.class.php index d863d33249..f8cea74a7f 100644 --- a/wcfsetup/install/files/lib/data/user/UserAction.class.php +++ b/wcfsetup/install/files/lib/data/user/UserAction.class.php @@ -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]) ]);