Avoid saving credentials in the browser

1

How can I avoid saving a user's credentials inside the browser, for example, Chrome? I am performing two authentication queries within a single account that has already been authenticated. It's bad practice, but I need users and secondary passwords not to be saved in the browser.

I'm using Angular as Front and Java as back.

    
asked by Ann .Castellanos 15.07.2017 в 00:00
source

2 answers

1

add the field autocomplete="off" to the input

<input type="password" autocomplete="off" />
    
answered by 15.07.2017 в 00:35
1

Maybe this can help you.

<form action="" method="" name="" autocomplete="off">
    <input type="username"/>
    <input type="password"/>
</form>
    
answered by 15.07.2017 в 12:57