Permalink
Browse files

add headers for CRSF check

  • Loading branch information...
unteem committed Jan 7, 2019
1 parent 5d24dce commit 39f4a5c4b14d6e058d0cd13329250cd5eb76bf38
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/add_to_group
@@ -5,4 +5,4 @@ source /etc/environment
user=$1
group=$2

curl -X POST --user ${cloud_admin}:${cloud_pass} https://${cloud_hostname}/ocs/v1.php/cloud/users/${1}/groups -d groupid="${2}"
curl -X POST -H "OCS-APIRequest:true" --user ${cloud_admin}:${cloud_pass} https://${cloud_hostname}/ocs/v1.php/cloud/users/${1}/groups -d groupid="${2}"

0 comments on commit 39f4a5c

Please sign in to comment.