We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb7a704 + c267f36 commit 7d507d2Copy full SHA for 7d507d2
apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
@@ -94,9 +94,11 @@ protected function run($argument) {
94
$notification = $this->notificationManager->createNotification();
95
$notification->setApp('twofactor_backupcodes')
96
->setUser($user->getUID())
97
- ->setDateTime($date)
98
->setObject('create', 'codes')
99
->setSubject('create_backupcodes');
+ $this->notificationManager->markProcessed($notification);
100
+
101
+ $notification->setDateTime($date);
102
$this->notificationManager->notify($notification);
103
}
104
0 commit comments