How do I configure my website to work with LastPass?
While LastPass can function on most website logins, if you are developing your own site you can configure it in a way that is compatible with LastPass by using a simple form submit with a username, password, and submit field.
Here's an example:
<form action="https://mypage.com/blah" method="post">
<input type="text" name="username" id="username" value=""/><input type="password" name="password" id="password" value=""/><input type="submit" value="LOGIN"/>
Additionally, we recommend:
- That you always create the form on page load
- Avoid Ajax for logging in
- Avoid method=GET