From ef58ba8daa6c78e4d2cee3dab0e12ff0a7ed4cd4 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 5 Oct 2016 16:56:16 -0300 Subject: [PATCH] Profile picture bug fixed --- bl-kernel/admin/themes/default/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/admin/themes/default/init.php b/bl-kernel/admin/themes/default/init.php index bc67c0d9..cdf84184 100644 --- a/bl-kernel/admin/themes/default/init.php +++ b/bl-kernel/admin/themes/default/init.php @@ -357,7 +357,7 @@ $(document).ready(function() { type: "json", action: HTML_PATH_ADMIN_ROOT+"ajax/uploader", allow : "*.(jpg|jpeg|gif|png)", - params: {"type":"profilePicture", "username":"'.$username.'"}, + params: {"tokenCSRF":tokenCSRF, "type":"profilePicture", "username":"'.$username.'"}, loadstart: function() { $("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "0%").text("0%");