aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-05-16 09:50:45 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-05-18 22:10:57 +0200
commit58683f11acf0a6e4d5dd1615012eeb1897e2ab2e (patch)
treef9be5f8643f6c7081bbc7e945049c825179ad8c1 /apps
parent1632bb45573b5294da97b8c157799b6a44624caa (diff)
downloadnextcloud-server-58683f11acf0a6e4d5dd1615012eeb1897e2ab2e.tar.gz
nextcloud-server-58683f11acf0a6e4d5dd1615012eeb1897e2ab2e.zip
Publish 2fa backup codes activities to the right stream
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps')
-rw-r--r--apps/twofactor_backupcodes/lib/Service/BackupCodeStorage.php2
1 files changed, 1 insertions, 1 deletions
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);