Disable auto complete in login form

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-10-23 23:22:48 +04:00
parent 41c77127c3
commit 0f52539b95
+2 -1
View File
@@ -235,7 +235,7 @@ function Koneksyon({chimen}) {
<FormControl fullWidth autoComplete='off'> <FormControl fullWidth autoComplete='off'>
<InputLabel htmlFor='username'>E-mail</InputLabel> <InputLabel htmlFor='username'>E-mail</InputLabel>
<Input <Input
autoComplete='email' autoComplete='new-password'
value={loginCredentials.username} value={loginCredentials.username}
name='username' name='username'
type='email' type='email'
@@ -248,6 +248,7 @@ function Koneksyon({chimen}) {
<FormControl fullWidth style={{marginTop: '1em'}}> <FormControl fullWidth style={{marginTop: '1em'}}>
<InputLabel htmlFor='password'>Mot de passe</InputLabel> <InputLabel htmlFor='password'>Mot de passe</InputLabel>
<Input <Input
autoComplete='new-password'
value={loginCredentials.password} value={loginCredentials.password}
name='password' name='password'
type={showPassword ? 'text' : 'password'} type={showPassword ? 'text' : 'password'}