This commit is contained in:
+15
@@ -74,6 +74,21 @@ RUN node /tmp/patch-custom-game.js /app
|
||||
COPY docker/patch-auto-verify-email.js /tmp/patch-auto-verify-email.js
|
||||
RUN node /tmp/patch-auto-verify-email.js /app
|
||||
|
||||
# Local patch: make the Steam/MAS auth-id requirement for tutorial and class
|
||||
# rewards optional (docker/patch-tutorial-reward-auth.js). Controlled at runtime
|
||||
# by options.tutorial_reward_requires_auth_id.
|
||||
COPY docker/patch-tutorial-reward-auth.js /tmp/patch-tutorial-reward-auth.js
|
||||
RUN node /tmp/patch-tutorial-reward-auth.js /app
|
||||
|
||||
# Local patch: make the merchant and non-merchant multi-account limits
|
||||
# configurable (docker/patch-multi-account-limits.js). Upstream hard-codes one
|
||||
# merchant per IP/owner and three non-merchant characters per IP/owner in the
|
||||
# backend enforcement cron, while login uses options.ip_limit/character_limit.
|
||||
# The patch makes both places use options.merchant_ip_limit,
|
||||
# options.merchant_owner_limit, options.ip_limit and options.character_limit.
|
||||
COPY docker/patch-multi-account-limits.js /tmp/patch-multi-account-limits.js
|
||||
RUN node /tmp/patch-multi-account-limits.js /app
|
||||
|
||||
|
||||
FROM ${NODE_IMAGE} AS runtime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user