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

Commit 438925c

Browse files
authored
Fix Complement TestCanRegisterAdmin with workers, by adding Complement's shared registration secret. (#12819)
1 parent a6ab3f5 commit 438925c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

changelog.d/12819.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add Complement's shared registration secret to the Complement worker image. This fixes tests that depend on it.

docker/complement/conf-workers/workers-shared.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ enable_registration: true
55
enable_registration_without_verification: true
66
bcrypt_rounds: 4
77

8+
## Registration ##
9+
10+
# Needed by Complement to register admin users
11+
# DO NOT USE in a production configuration! This should be a random secret.
12+
registration_shared_secret: complement
13+
814
## Federation ##
915

1016
# trust certs signed by Complement's CA

0 commit comments

Comments
 (0)