Hide autofill in profile settings (#442)
* hide autofill in profile settings
This commit is contained in:
parent
36fff73af6
commit
c9f494d2c1
|
@ -195,7 +195,7 @@ export const ProfileSettings = () => {
|
|||
<div class="col-md-20 col-lg-18 col-xl-16">
|
||||
<h1>{t('Profile settings')}</h1>
|
||||
<p class="description">{t('Here you can customize your profile the way you want.')}</p>
|
||||
<form enctype="multipart/form-data">
|
||||
<form enctype="multipart/form-data" autocomplete="off">
|
||||
<h4>{t('Userpic')}</h4>
|
||||
<div class="pretty-form__item">
|
||||
<div
|
||||
|
@ -262,15 +262,16 @@ export const ProfileSettings = () => {
|
|||
<div class="pretty-form__item">
|
||||
<input
|
||||
type="text"
|
||||
name="username"
|
||||
id="username"
|
||||
name="nameOfUser"
|
||||
id="nameOfUser"
|
||||
data-lpignore="true"
|
||||
autocomplete="one-time-code"
|
||||
placeholder={t('Name')}
|
||||
onInput={(event) => updateFormField('name', event.currentTarget.value)}
|
||||
value={form.name}
|
||||
ref={(el) => (nameInputRef.current = el)}
|
||||
/>
|
||||
<label for="username">{t('Name')}</label>
|
||||
<label for="nameOfUser">{t('Name')}</label>
|
||||
<Show when={nameError()}>
|
||||
<div
|
||||
style={{ position: 'absolute', 'margin-top': '-4px' }}
|
||||
|
@ -290,6 +291,7 @@ export const ProfileSettings = () => {
|
|||
type="text"
|
||||
name="user-address"
|
||||
id="user-address"
|
||||
data-lpignore="true"
|
||||
autocomplete="one-time-code2"
|
||||
onInput={(event) => updateFormField('slug', event.currentTarget.value)}
|
||||
value={form.slug}
|
||||
|
|
|
@ -320,3 +320,14 @@ h5 {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// disable last pass extention
|
||||
|
||||
div[data-lastpass-icon-root="true"] {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
div[data-lastpass-infield="true"] {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user