summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/Activity/GenericProvider.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-12-13 10:47:48 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-12-19 11:59:47 +0100
commit93003120461648140ee244b345cfcb6690071faa (patch)
tree6f6abee9824742b4c45517137bf6f3881d761c26 /apps/twofactor_backupcodes/lib/Activity/GenericProvider.php
parent7ae9442f3d4cdb2a98ae680979d6fcb33350cc02 (diff)
downloadnextcloud-server-93003120461648140ee244b345cfcb6690071faa.tar.gz
nextcloud-server-93003120461648140ee244b345cfcb6690071faa.zip
push activity when backup codes are generated
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/twofactor_backupcodes/lib/Activity/GenericProvider.php')
-rw-r--r--apps/twofactor_backupcodes/lib/Activity/GenericProvider.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/lib/Activity/GenericProvider.php b/apps/twofactor_backupcodes/lib/Activity/GenericProvider.php
index e7eebb12838..70942cf72bd 100644
--- a/apps/twofactor_backupcodes/lib/Activity/GenericProvider.php
+++ b/apps/twofactor_backupcodes/lib/Activity/GenericProvider.php
@@ -56,7 +56,6 @@ class GenericProvider implements IProvider {
switch ($event->getSubject()) {
case 'twofactor_success':
$params = $event->getSubjectParameters();
- error_log(json_encode($params['provider']));
$event->setParsedSubject($l->t('You successfully logged in using two-factor authentication (%1$s)', [
$params['provider'],
]));