# Remember me button Default login template

**URL:** <https://community.hubspot.com/t/remember-me-button-default-login-template/82715>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [June 6, 2023, 8:39am UTC](https://community.hubspot.com/t/remember-me-button-default-login-template/82715 "2023-06-06T08:39:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EMestrom](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/emestrom/32/198854_2.png) [@EMestrom](https://community.hubspot.com/u/EMestrom)\
**Post date:** [June 6, 2023, 8:39am UTC](https://community.hubspot.com/t/remember-me-button-default-login-template/82715/1 "2023-06-06T08:39:32Z")

</div>

Hi There, I have a question. I can’t find the answer anywhere, so maybe somedy can help me here.

Hi there, I have a question. I can’t find the answer anywhere, so maybe somebody can help me here.

I’m working on a website with a membership area, and to log in, I’m using HubSpot’s Default Login Template. In this template, there is a checkbox labeled ‘remember me.’ I’m curious about what exactly happens when you check this option. Does it simply remember the email address and password, requiring the user to log in every time they visit a membership page? Or does it keep the user logged in? I’ve searched for an answer everywhere, but I can’t find one. Please help!

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [June 7, 2023, 12:51pm UTC](https://community.hubspot.com/t/remember-me-button-default-login-template/82715/2 "2023-06-07T12:51:55Z")

</div>

Hi @EMestrom ,

This would work in the same sense as most log in functionality works. It would add a cookie to the user’s browser that would allow them to stay logged in as long as the cookie is still active. Usually browsers will, by default, clear cookies upon closing of the browser and thus the user would be logged out once they’ve closed their browser.
