Skip to content

Commit

Permalink
Do not register CSRF token
Browse files Browse the repository at this point in the history
The session is closed at this point since it may come over CLI => 💣

Fixes owncloud/core#23205
  • Loading branch information
LukasReschke authored and nickvergessen committed Mar 14, 2016
1 parent 46a0405 commit 492ea7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mailqueuehandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function sendEmailToUser($userName, $email, $lang, $timezone, $maxTime) {
);
}

$alttext = new Template('activity', 'email.notification', '');
$alttext = new Template('activity', 'email.notification', '', false);
$alttext->assign('username', $user->getDisplayName());
$alttext->assign('activities', $activityList);
$alttext->assign('skippedCount', $skippedCount);
Expand Down

0 comments on commit 492ea7e

Please sign in to comment.