Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libre.sh
compose.libre.sh
Commits
39f4a5c4
Unverified
Commit
39f4a5c4
authored
6 years ago
by
Timothee Gosselin
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add headers for CRSF check
parent
5d24dce3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/add_to_group
+1
-1
1 addition, 1 deletion
utils/add_to_group
with
1 addition
and
1 deletion
utils/add_to_group
+
1
−
1
View file @
39f4a5c4
...
...
@@ -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
}
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment