# Logon authentication and token expiry

**URL:** <https://discourse.nodered.org/t/logon-authentication-and-token-expiry/31173>\
**Category:** General\
**Created:** [5 August 2020 11:16 UTC](https://discourse.nodered.org/t/logon-authentication-and-token-expiry/31173 "2020-08-05T11:16:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [5 August 2020 11:58 UTC](https://discourse.nodered.org/t/logon-authentication-and-token-expiry/31173/2 "2020-08-05T11:58:14Z")

</div>

You can find the answer in the last post of this thread:

> [@Node Red security password](https://discourse.nodered.org/t/node-red-security-password/10774/23):
>
> Hi @kumarsemal - there is no setting available for the runtime to forget about active logins when it is restarted. You can force it by deleting the ~/.node-red/.sessions.json file before restarting NR.

---

_[View the full topic](https://discourse.nodered.org/t/logon-authentication-and-token-expiry/31173)._
