Fix URI encoding on the csrf token

This commit is contained in:
Joseph Schorr 2015-01-26 14:16:46 -05:00
parent be6701b310
commit a98b9ca1a7

View file

@ -16,7 +16,7 @@ function SuperUserAdminCtrl($scope, $timeout, ApiService, Features, UserService,
$scope.debugLogs = null;
$scope.pollChannel = null;
$scope.logsScrolled = false;
$scope.csrf_token = window.__token;
$scope.csrf_token = encodeURIComponent(window.__token);
$scope.configurationSaved = function() {
$scope.requiresRestart = true;