RocketChat / Rocket.Chat.Android

Legacy mobile Rocket.Chat client in Kotlin for Android
https://rocket.chat
MIT License
869 stars 554 forks source link

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

Open emikolajczak opened 5 years ago

emikolajczak commented 5 years ago

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

dmoldovan123 commented 5 years ago

Hello, same problem here.

thompsonchief commented 5 years ago

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

noor-binte-amir commented 5 years ago

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.

reetp commented 5 years ago

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.