mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 05:25:16 -05:00
FEATURE: Add new site setting to restrict how many times you can click on an
invite to "passthrough" as logged in, with a default of 0 hours. Also changes default invite expiry from 7 days to 1.
This commit is contained in:
@@ -713,6 +713,7 @@ en:
|
||||
force_hostname: "DEVELOPER ONLY! WARNING! Specify a hostname in the URL. Leave blank for default."
|
||||
|
||||
invite_expiry_days: "How long user invitation keys are valid, in days"
|
||||
invite_passthrough_hours: "How long a user can use a previously redeemed invitation key to log in, in hours"
|
||||
|
||||
# TODO: perhaps we need a way of protecting these settings for hosted solution, global settings ...
|
||||
|
||||
|
||||
@@ -247,7 +247,8 @@ users:
|
||||
enable_names:
|
||||
client: true
|
||||
default: true
|
||||
invite_expiry_days: 4
|
||||
invite_expiry_days: 1
|
||||
invite_passthrough_hours: 0
|
||||
invites_shown:
|
||||
client: true
|
||||
default: 30
|
||||
|
||||
Reference in New Issue
Block a user