1fae6920be
Disable Nextcloud's bruteforce protection and rate limiting via a new post-installation hook, preventing 429 errors during repeated DCR calls in CI. Add warning-level logging to all 8 error paths in the AS proxy token endpoint to make login-flow 400 errors diagnosable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7 lines
361 B
Bash
Executable File
7 lines
361 B
Bash
Executable File
#!/bin/bash
|
|
set -euox pipefail
|
|
echo "Disabling bruteforce protection and rate limiting for dev/CI..."
|
|
php /var/www/html/occ config:system:set auth.bruteforce.protection.enabled --value=false --type=boolean
|
|
php /var/www/html/occ config:system:set ratelimit.protection.enabled --value=false --type=boolean
|
|
echo "Bruteforce protection and rate limiting disabled."
|