Fix Complement TestCanRegisterAdmin with workers, by adding Complement's shared registration secret. (#12819)

This commit is contained in:
reivilibre 2022-05-23 12:20:30 +01:00 committed by GitHub
parent a6ab3f5619
commit 438925c422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

1
changelog.d/12819.misc Normal file
View File

@ -0,0 +1 @@
Add Complement's shared registration secret to the Complement worker image. This fixes tests that depend on it.

View File

@ -5,6 +5,12 @@ enable_registration: true
enable_registration_without_verification: true enable_registration_without_verification: true
bcrypt_rounds: 4 bcrypt_rounds: 4
## Registration ##
# Needed by Complement to register admin users
# DO NOT USE in a production configuration! This should be a random secret.
registration_shared_secret: complement
## Federation ## ## Federation ##
# trust certs signed by Complement's CA # trust certs signed by Complement's CA