# Using Last Logine Timestamp

**URL:** <https://community.auth0.com/t/using-last-logine-timestamp/112320>\
**Category:** Get Help\
**Tags:** adaptive-mfa, mfa\
**Created:** [July 28, 2023, 6:39am UTC](https://community.auth0.com/t/using-last-logine-timestamp/112320 "2023-07-28T06:39:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sascha.martin](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sascha.martin](https://community.auth0.com/u/sascha.martin)\
**Post date:** [July 28, 2023, 6:39am UTC](https://community.auth0.com/t/using-last-logine-timestamp/112320/1 "2023-07-28T06:39:58Z")

</div>

Hello Community,  
i have the issue that the 30 day remember not work in all applications well. I using Adaptive-MFA. Means that I get no new MFA enroll. I tried a lot but nothing bring me finish this issue. I want to write a action and use the last\_Login for calculate the 30 days. But i seen i can´t use that metadata for action. Is that right? Is the only way to save a timestamp in Post login action and save in metadata? Anyone maybe a example? Thank you

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [July 28, 2023, 7:09pm UTC](https://community.auth0.com/t/using-last-logine-timestamp/112320/3 "2023-07-28T19:09:05Z")

</div>

Hi @sascha.martin,

Welcome to the Auth0 Community!

Calling the `api.multifactor.enable()` method should allow you to set the `options.allowRememberBrowser`, which remembers the user for 30 days.

See our [Configuring MFA Flow to require MFA once per session with Actions`](https://community.auth0.com/t/configuring-mfa-flow-to-require-mfa-once-per-session-with-actions/85059) documentation.

Please let me know if you have any questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 11, 2023, 7:09pm UTC](https://community.auth0.com/t/using-last-logine-timestamp/112320/4 "2023-08-11T19:09:23Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
