Publish 2fa backup codes activities to the right stream
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
1632bb4557
commit
58683f11ac
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue