How does Lastpass recognize actual login?

Posted by Pan.student on Pro Webmasters See other posts from Pro Webmasters or by Pan.student
Published on 2012-10-18T02:16:16Z Indexed on 2012/10/18 5:23 UTC
Read the original article Hit count: 242

Filed under:

We are currently working on simple school project using Codeigniter where we need login page. It would be very useful if Lastpass could recognise and save logins. We have several accounts with different roles and manual insert of login is pretty slow. So I was wondering what needs to be done and where in files (view, controller?) for Lastpass to work as it does on every website.

For example this is our login form:

    <?php echo form_open('login'); ?>
      <input type="text" id="username" name="username"/>
      <input type="text" id="password" name="password"/>
      <input type="submit" value="Login"/> 
    </form>

Thanks for help.

(could not create new tag "Lastpass" due to low reputation)

[SOLVED]

changed

<input type="text" id="password" name="password"/>

to

<input type="password" id="password" name="password"/>

© Pro Webmasters or respective owner

Related posts about authentication