From 892234168eb68a5bd349c0b4ac315fb9cd0990b1 Mon Sep 17 00:00:00 2001 From: Penny Leach Date: Wed, 18 Nov 2009 10:06:34 +0000 Subject: [PATCH] portfolio: MDL-19356 - mahara portfolio plugin: add sesskey to post-auth redirect --- portfolio/type/mahara/preconfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portfolio/type/mahara/preconfig.php b/portfolio/type/mahara/preconfig.php index 099ae6764a..847e9bb44b 100644 --- a/portfolio/type/mahara/preconfig.php +++ b/portfolio/type/mahara/preconfig.php @@ -28,6 +28,6 @@ if (!$landed) { $exporter->verify_rewaken(); $exporter->get('instance')->send_intent(); - redirect($CFG->wwwroot . '/portfolio/add.php?postcontrol=1&id=' . $id); + redirect($CFG->wwwroot . '/portfolio/add.php?postcontrol=1&sesskey=' . sesskey() . '&id=' . $id); } -- 2.39.5