Ограничить домены email бесплатной регистрации

This commit is contained in:
AidarKC
2026-11-05 03:27:52 +03:00
parent e84ab41fe6
commit bd52a23bec
15 changed files with 424 additions and 20 deletions
+34
View File
@@ -0,0 +1,34 @@
# SHiNE configuration EXAMPLE. This file is never loaded automatically.
# Copy it to application.properties in the server working directory,
# or provide a private application.properties on the server classpath.
# Never commit application.properties with real credentials.
# Database: replace with your own test/server values.
db.url=jdbc:postgresql://localhost:5432/shine
db.user=
db.password=
server.SHiNE.login=
# Solana/Arweave: disabled until configured.
solana.cluster=devnet
solana.rpcUrl=
solana.users.sync.enabled=false
blockchain.sync.enabled=false
sync.importUserProfileFromPartner.enabled=false
arweave.blocks.publish.enabled=false
arweave.blocks.sync.enabled=false
# Temporary / testing endpoints: off by default.
debug.tempApi.enabled=false
test.freeAvatar.enabled=false
# Other services: fill in real values only in the private config.
dm.delivery.enabled=false
webpush.vapid.public=
webpush.vapid.private=
webpush.vapid.subject=
call.ice.turn.sharedSecret=
# Email verification for free registration: requires the separate allowlist file.
# The deployment script copies allowed-email-domains.txt alongside shine-server.jar.
freeRegistration.email.allowedDomainsFile=allowed-email-domains.txt