]> source.dussan.org Git - nextcloud-server.git/commitdiff
Publish 2fa backup codes activities to the right stream
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 16 May 2017 07:50:45 +0000 (09:50 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 18 May 2017 20:10:57 +0000 (22:10 +0200)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php

index 1cf62d188011cc46ae1ec74b24091ad0b0d8015f..84bf54d33792dd47b352397d89e49455f300827e 100644 (file)
@@ -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);