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'>
<InputLabel htmlFor='username'>E-mail</InputLabel>
<Input
autoComplete='email'
autoComplete='new-password'
value={loginCredentials.username}
name='username'
type='email'
@@ -248,6 +248,7 @@ function Koneksyon({chimen}) {
<FormControl fullWidth style={{marginTop: '1em'}}>
<InputLabel htmlFor='password'>Mot de passe</InputLabel>
<Input
autoComplete='new-password'
value={loginCredentials.password}
name='password'
type={showPassword ? 'text' : 'password'}