feat: local user registration
This commit is contained in:
1 parent
8bb7f08074
commit
161029ec7c
29 files changed
+1549
-601
No files matched your search
@@ -4,6 +4,16 @@ framework:
|
||||
annotations: false
|
||||
http_method_override: false
|
||||
handle_all_throwables: true
|
||||
rate_limiter:
|
||||
limiters:
|
||||
registration:
|
||||
policy: sliding_window
|
||||
limit: 5
|
||||
interval: 15 minutes
|
||||
password_reset:
|
||||
policy: sliding_window
|
||||
limit: 5
|
||||
interval: 15 minutes
|
||||
|
||||
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
||||
# Remove or comment this section to explicitly disable session support.
|
||||
@@ -28,5 +38,7 @@ framework:
|
||||
when@test:
|
||||
framework:
|
||||
test: true
|
||||
rate_limiter:
|
||||
enabled: false
|
||||
session:
|
||||
storage_factory_id: session.storage.factory.mock_file
|
||||
@@ -136,6 +136,11 @@ services:
|
||||
arguments:
|
||||
$retentionBufferDays: '%travel_snapshot_retention_buffer_days%'
|
||||
|
||||
App\Service\PublicFormRateLimiter:
|
||||
arguments:
|
||||
$registrationLimiter: '@limiter.registration'
|
||||
$passwordResetLimiter: '@limiter.password_reset'
|
||||
|
||||
App\Service\TravelDataProvider:
|
||||
arguments:
|
||||
$logger: '@monolog.logger.core'
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
App\Service\PublicFormRateLimiter: '@App\Tests\Support\TestPublicFormRateLimiter'
|
||||
|
||||
App\Tests\Support\TestPublicFormRateLimiter: ~
|
||||
Reference in new issue
Block a user