Open Benjamin-Loison opened 5 days ago
Resend results in HTTP code 200 instead of 303.
Modifying user_name
and email
solve the issue.
diff
:minimizeCURL curl.sh 'HTTP/2 303'
minimizeCURL curl.sh 'user does not exist'
I verified that it correctly deletes another user if change 33.
for userId in `seq 25 48`
do
echo $userId
curl -s https://gitea.lemnoslife.com/admin/users/$userId/delete -H 'Cookie: i_like_gitea=XXXXXXXXXXXXXXXX' --data-raw _csrf=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > /dev/null
done
Commenting 'Content-Type': 'application/x-www-form-urlencoded',
or adding 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0'
does not make curlconverter
result works.
I faced Benjamin_Loison/curlconverter/issues/1#issuecomment-2441300.
data['must_change_password'] = 'on'
As I plan to have possibly at least 6 collaborators.
https://gitea.lemnoslife.com/admin/users https://gitea.lemnoslife.com/api/swagger#/user does not seem to propose to create a user DuckDuckGo search Gitea automatically create user. https://docs.gitea.com/usage/authentication does not seem to help. https://forum.gitea.com/t/sudo-for-git-requests-and-automatic-user-creation/6673 has the same need. Do forum rules allow answering partially a year and a half question?