Skip to content

Commit 8eace0d

Browse files
Add missing services.yaml update (for username pattern).
1 parent 1d00da9 commit 8eace0d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

config/services.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ parameters:
1919
forum_notification_batch_size: '%env(int:forum_notification_batch_size)%'
2020
locales: "%env(csv:LOCALES)%"
2121
document_locales: "%env(DOCUMENT_LOCALES)%"
22-
username.pattern: "/[a-z](?!.*[-_.][-_.])[a-z0-9-._]{2,18}[a-z0-9]/i"
22+
username.pattern: "/^[a-z](?!.*[-_.][-_.])[a-z0-9-._]{2,18}[a-z0-9]/i"
2323
manticore.host: '%env(MANTICORE_HOST)%'
2424
manticore.port: '%env(int:MANTICORE_PORT)%'
2525

@@ -37,6 +37,7 @@ services:
3737
$manticorePort: '%manticore.port%'
3838
$locales: '%locales%'
3939
$formLoginAuthenticator: '@security.authenticator.form_login.main'
40+
$usernamePattern: '%username.pattern%'
4041

4142
# makes classes in src/ available to be used as services
4243
# this creates a service per class whose id is the fully-qualified class name
@@ -479,8 +480,3 @@ services:
479480
app.mockup_provider.profile:
480481
class: App\Model\MockupProvider\ProfileMockups
481482
tags: [ 'app.mockup_provider' ]
482-
483-
# app.signup.form:
484-
# class: App\Form\SignupFormType
485-
# arguments:
486-
# $usernamePattern: '%username.pattern%'

0 commit comments

Comments
 (0)