Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Force logout after browser close and/or certain duration

    Feature Requests
    3
    4
    46
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      GregY last edited by

      My request is to have an option to force a logout from Cloudron after a certain amount of time or after I close my browser.

      Currently, the session persists even after I close my browser.

      Thank you. 🙂

      jdaviescoates 1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        Currently the Cloudron dashboard does not use sessions, but an accessToken in the localStorage of the browser. This means when closing the browser tab, there is no solid way to clear that from a dashboard perspective.

        Maybe we can use either localStorage or sessionStorage for this?

        1 Reply Last reply Reply Quote 0
        • jdaviescoates
          jdaviescoates @GregY last edited by

          @GregY said in Force logout after browser close and/or certain duration:

          Currently, the session persists even after I close my browser.

          Yes, I love that! 😛

          I guess is this is a real security concern for you, you could manually logout beforehand?

          I use Cloudron with Gandi & Hetzner

          G 1 Reply Last reply Reply Quote 0
          • G
            GregY @jdaviescoates last edited by

            @jdaviescoates said in Force logout after browser close and/or certain duration:

            I guess is this is a real security concern for you, you could manually logout beforehand?

            True.

            My main reason for requesting this feature is that the administrative controls are only a few clicks away. I suppose I could create a separate non-admin user account for myself and run my apps under that account.

            1 Reply Last reply Reply Quote 2
            • First post
              Last post
            Powered by NodeBB