Base solution for your next web application
Open Closed

Stored login credentials #11818


User avatar
0
niengineering created

Dear Support,

we have an issue in the login page. We see that all browser are correctly storing the credentials information but when trying to login a second time the username prefilling is not proposed. Basically the user needs to focus the password field so the browser will propose the username and password to use. Could we do something to solve this issue?

Thank you


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @niengineering

    Are you using browser's remember feature or did you implement it yourself ? Because this is not a feature AspNet Zero offers out of the box.

  • User Avatar
    0
    niengineering created

    I confirm that is a browser feature but in some way is driven from the code.

    I see that for example that removing the 'autocomplete="new-password"' attribute allows autofill of username (not username and password at the same time)

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You are right, this section seems to have a problem. You can follow https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete and enable it for any input you want.

    Just be sure that, you are not using any password manager (Like LastPass etc...) which changes the behaviour of the browser.