Files
nextsnap/app
kamaji 78c3c54a26 Fix admin panel 412: add OCS-APIRequest header to all OCS methods
Nextcloud requires the OCS-APIRequest: true header on all OCS API
calls as a CSRF protection measure. Without it, the server returns
412 Precondition Failed. The check_admin() method had the header
but all other OCS methods (get_users, create_user, enable/disable/
delete_user) were missing it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 20:51:33 -06:00
..