Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

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

Merged
merged 2 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/12819.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Complement's shared registration secret to the Complement worker image. This fixes tests that depend on it.
6 changes: 6 additions & 0 deletions docker/complement/conf-workers/workers-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ enable_registration: true
enable_registration_without_verification: true
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 ##

# trust certs signed by Complement's CA
Expand Down