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

Commit

Permalink
Fix Complement TestCanRegisterAdmin with workers, by adding Complem…
Browse files Browse the repository at this point in the history
…ent's shared registration secret. (#12819)
  • Loading branch information
reivilibre authored May 23, 2022
1 parent a6ab3f5 commit 438925c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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

0 comments on commit 438925c

Please sign in to comment.