From 573b1e3e3e4266dbd0432bfdf0b73c8244e077e6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 12 Apr 2019 16:51:00 +0200 Subject: [PATCH] Clear the blacklist matches when enabling users Fixes #2892 --- wcfsetup/install/files/lib/data/user/UserAction.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]) ]); -- 2.20.1