Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
e220eb70
Commit
e220eb70
authored
3 years ago
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete Autocomplete on form fields
parent
d5bf4583
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
RegistrationFormType.php
src/Form/Type/RegistrationFormType.php
+1
-4
login.html.twig
templates/themes/kohinos/common/login.html.twig
+2
-2
No files found.
src/Form/Type/RegistrationFormType.php
View file @
e220eb70
...
@@ -49,10 +49,7 @@ class RegistrationFormType extends AbstractType
...
@@ -49,10 +49,7 @@ class RegistrationFormType extends AbstractType
'type'
=>
PasswordType
::
class
,
'type'
=>
PasswordType
::
class
,
'required'
=>
true
,
'required'
=>
true
,
'options'
=>
array
(
'options'
=>
array
(
'translation_domain'
=>
'FOSUserBundle'
,
'translation_domain'
=>
'FOSUserBundle'
'attr'
=>
array
(
'autocomplete'
=>
'new-password'
,
),
),
),
'first_options'
=>
array
(
'label'
=>
'form.password'
),
'first_options'
=>
array
(
'label'
=>
'form.password'
),
'second_options'
=>
array
(
'label'
=>
'form.password_confirmation'
),
'second_options'
=>
array
(
'label'
=>
'form.password_confirmation'
),
...
...
This diff is collapsed.
Click to expand it.
templates/themes/kohinos/common/login.html.twig
View file @
e220eb70
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<label
for=
"username"
>
{{
'security.login.courriel'
|
trans
}}
:
</label>
<label
for=
"username"
>
{{
'security.login.courriel'
|
trans
}}
:
</label>
</div>
</div>
<div
class=
'col-6 text-left'
>
<div
class=
'col-6 text-left'
>
<input
type=
"text"
id=
"username"
name=
"_username"
value=
"
{{
last_username
is
defined
?
last_username
:
''
}}
"
required=
"required"
autocomplete=
"username"
/>
<input
type=
"text"
id=
"username"
name=
"_username"
value=
"
{{
last_username
is
defined
?
last_username
:
''
}}
"
required=
"required"
/>
</div>
</div>
</div>
</div>
<div
class=
'row'
>
<div
class=
'row'
>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<label
for=
"password"
>
{{
'security.login.password'
|
trans
}}
:
</label>
<label
for=
"password"
>
{{
'security.login.password'
|
trans
}}
:
</label>
</div>
</div>
<div
class=
'col-6 text-left'
>
<div
class=
'col-6 text-left'
>
<input
type=
"password"
id=
"password"
name=
"_password"
required=
"required"
autocomplete=
"current-password"
/>
<input
type=
"password"
id=
"password"
name=
"_password"
required=
"required"
/>
</div>
</div>
</div>
</div>
<div
class=
'row mt-4'
>
<div
class=
'row mt-4'
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment