From: Christoph Wurst Date: Tue, 16 May 2017 07:50:45 +0000 (+0200) Subject: Publish 2fa backup codes activities to the right stream X-Git-Tag: v12.0.0RC1~1^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=58683f11acf0a6e4d5dd1615012eeb1897e2ab2e;p=nextcloud-server.git Publish 2fa backup codes activities to the right stream Signed-off-by: Christoph Wurst --- diff --git a/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php b/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php index 1cf62d18801..84bf54d3379 100644 --- a/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php +++ b/apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php @@ -103,7 +103,7 @@ class BackupCodeStorage { private function publishEvent(IUser $user, $event) { $activity = $this->activityManager->generateEvent(); $activity->setApp('twofactor_backupcodes') - ->setType('twofactor') + ->setType('security') ->setAuthor($user->getUID()) ->setAffectedUser($user->getUID()) ->setSubject($event);