add variables for login ratelimits
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a3cfcd46f8
commit
696a0a1766
|
@ -111,6 +111,25 @@ matrix_url_preview_enabled: False
|
|||
# - netloc: '^([A-f0-9:]+:+)+[A-f0-9]+$'
|
||||
matrix_url_preview_max_spider_size: 10M
|
||||
|
||||
# @var matrix_rc_login_address:description: >
|
||||
# Ratelimiting settings for login requests based on the client's IP address.
|
||||
# @end
|
||||
# @var matrix_rc_login_address: >
|
||||
# matrix_rc_login_address:
|
||||
# per_second: 0.17
|
||||
# burst_count: 3
|
||||
# @var
|
||||
|
||||
# @var matrix_rc_login_account:description: >
|
||||
# Ratelimiting settings for login requests based on the account the
|
||||
# client is attempting to log into.
|
||||
# @end
|
||||
# @var matrix_rc_login_account: >
|
||||
# matrix_rc_login_account:
|
||||
# per_second: 0.17
|
||||
# burst_count: 3
|
||||
# @var
|
||||
|
||||
matrix_macaroon_secret_key: "jr;vhMlW=+U8pwBhVE^=6.,M94Gcyg_07Z-nNAsgj4ZZ:ew:HV"
|
||||
matrix_form_secret: "oFP3m&,r^wJ=Tr#=Ruww5+h0e;-DZqcuVGXV4XgRZIAt~Gv2YF"
|
||||
|
||||
|
|
|
@ -207,11 +207,11 @@ rc_registration:
|
|||
|
||||
rc_login:
|
||||
address:
|
||||
per_second: 0.17
|
||||
burst_count: 3
|
||||
per_second: {{ matrix_rc_login_address.per_second | default(0.17) }}
|
||||
burst_count: {{ matrix_rc_login_address.burst_count | default(3) }}
|
||||
account:
|
||||
per_second: 0.17
|
||||
burst_count: 3
|
||||
per_second: {{ matrix_rc_login_account.per_second | default(0.17) }}
|
||||
burst_count: {{ matrix_rc_login_account.burst_count | default(3) }}
|
||||
failed_attempts:
|
||||
per_second: 0.17
|
||||
burst_count: 3
|
||||
|
|
Loading…
Reference in New Issue