“Remember Me” checkbox extension in Magento

“Remember Me” checkbox extension in Magento © by OeilDeNuit/sxc

Hello everyone! I’ve created a small and simple module that creates “Remember Me” functionality to any Magento website. Its currently in testing phase, so I’d say it’s an alpha release.

Never mind the alpha release (v 0.1.0), if someone is willing to try it and trace possible bugs, I’ll do my best to fix them. 😀

Module doesn’t have any admin functionality. Though it can be disabled through admin at any time. There’s a small change on customer/form/login.phtml file (added checkbox with input name set), and besides that, only thing is that this module will save hashed and salted Magento customer’s password hash in a cookie, so it is safe as it can be (if I’m wrong, I’m opened for suggestions).

There’s nothing else to say besides it’s placed on login form for Magento customers. It looks like this:

As far as setting it up goes, you only need to extract attached file over your “app” folder (it won’t overwrite anything, I’ve set it up like this because of the folder structure).

And a small note, It’s been tested on community version 1.4.

And here’s the download link.

And one last thing, I’d like to hear your opinions on this one, as this is fist module that I’ve created and have given it to public.


You made it all the way down here so you must have enjoyed this post! You may also like:

Magento 2 Product Quick View Tomas Novoselic
, | 5

Magento 2 Product Quick View

How I learned to stop worrying and love 3rd party modules for Magento Luka Rajcevic
Luka Rajcevic, | 2

How I learned to stop worrying and love 3rd party modules for Magento

Optimize Elasticsearch autocomplete URL for Google Analytics Matej Djakovic
Matej Djakovic, | 2

Optimize Elasticsearch autocomplete URL for Google Analytics


  1. This module becomes a large resources eating monster when dealing with large amount of customers. Loading model for every customer in db for EVERY visit = disaster.

  2. @Govind

    your “remember me” check is showed?

    your controller files are permissions allowed? (try chmod -R app/code/local/Inchoo 775)


  3. I have tried this in But its not working fine. I Have used custom theme. I have changed login.phtml file same as given login.phtml.

    When I run the application, the custom controller not executed.

    Any idea to resolve this issue?

  4. Great post!

    By the way, I find some bug (?) restrict to some special combination of computer+SO+bored_customer, at Inchoo/Remember/controllers/Frontend/Customer/AccountController.php #27. I add this “if” statement:

    if (isset($safe_pass)) {

    Do you think the patch are correct?


  5. Thanks for the addition. So far on testing it out everything is running great.

    @DU, you can use Mozilla Firebug and “Inspect the Element” by right-clicking on or near the check box. Find the CSS that positions those elements and then modify them that way. I think you can just take delete the “clear” property and then add a left margin to the little check box.

    -This is all new to me, so may not work as I explained above, but it was successful for me.

    Great post!

  6. @Magento Themes – thanks!

    @Simon – it’s not on Magento Connect since its still just basic functionality

    @Adi – I agree that this is fairly unsafe, but only thing I completely agree on article is that changing vital information / making orders should be limited (on next versions it should be implemented).
    I said completely because creation of additional cookies, combined with database still don’t prevent cookie theft, and if someone really wish to login with stolen data, he still can.
    Other than that (my opinion), those are still great articles!

    @Everyone else, first upload was not functional, I’ve uploaded wrong directory, but its fixed now. Thanks!


  7. Thanks for the module – it is a nice one. Why don’t you post it to Magento Connect?

    I would like to suggest that you include language files with the module. The german language file could look like:
    “Remember me”,”Angemeldet bleiben”


  8. Thanks for this help, Mladen. Remember me is a good option and is very much necessary for all websites, as it will make the websites user friendly.
    I would always like to add one to my website…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.

Tell us about your project

Drop us a line. We'd love to know more about your project.