File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ parameters:
19
19
forum_notification_batch_size : ' %env(int:forum_notification_batch_size)%'
20
20
locales : " %env(csv:LOCALES)%"
21
21
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"
23
23
manticore.host : ' %env(MANTICORE_HOST)%'
24
24
manticore.port : ' %env(int:MANTICORE_PORT)%'
25
25
@@ -37,6 +37,7 @@ services:
37
37
$manticorePort : ' %manticore.port%'
38
38
$locales : ' %locales%'
39
39
$formLoginAuthenticator : ' @security.authenticator.form_login.main'
40
+ $usernamePattern : ' %username.pattern%'
40
41
41
42
# makes classes in src/ available to be used as services
42
43
# this creates a service per class whose id is the fully-qualified class name
@@ -479,8 +480,3 @@ services:
479
480
app.mockup_provider.profile :
480
481
class : App\Model\MockupProvider\ProfileMockups
481
482
tags : [ 'app.mockup_provider' ]
482
-
483
- # app.signup.form:
484
- # class: App\Form\SignupFormType
485
- # arguments:
486
- # $usernamePattern: '%username.pattern%'
You can’t perform that action at this time.
0 commit comments