Rocket.Chat.Android icon indicating copy to clipboard operation
Rocket.Chat.Android copied to clipboard

User not logged out when "Login Expiration in Days" is set

Open emikolajczak opened this issue 7 years ago • 4 comments

Describe the bug

Hi, In our installation we have set parameter "Login Expiration in Days" to 1. In your official Android app is an issue that session seems closed but user is not logged out and cannot do anything also clik logout. "You must be logged in to this" message is show. Only thing which helps is clear application data and cache.

To Reproduce

  1. Set "Login Expiration in Days" to 1 in Rocket Chat addministartion panel.
  2. Log in via official Android Rocket Chat app
  3. Wait 24h whithout open android app
  4. You can see that user is not logged out and can't logout and login again.

Expected behavior

User is logged out after 24h and can log in again.

Logs

Screenshots

Example screen shot

Screenshot_20190521_124603_temp

Devices and Versions

Your Rocket.Chat.Android version: 3.4.1 Your Rocket.Chat Server version: 1.0.3

Mobile device model and OS version: LG G6 Android 8.0.0

Additional context

emikolajczak avatar May 21 '19 11:05 emikolajczak

Hello, same problem here.

dmoldovan123 avatar Jun 05 '19 14:06 dmoldovan123

I'm getting these same responses and screen on different devices. Any help would be appreciated.

thompsonchief avatar Jun 11 '19 00:06 thompsonchief

I'm not sure if there is a correct solution for this but until someone provides it, you can try a workaround. Force stop your app and clear its cache and storage. This should log you out, after which you can try logging in again.

noor-binte-amir avatar Jun 17 '19 14:06 noor-binte-amir

You can try the Beta/dev version 3.4.2 with either your own test 1.1.1 latest or try open.rocket.chat which is on the dev branch.

reetp avatar Jun 17 '19 21:06 reetp