torus-cli icon indicating copy to clipboard operation
torus-cli copied to clipboard

Service log out does not occur automatically

Open DLesage25 opened this issue 7 years ago • 4 comments

I got an error message "Unauthorized: You are unauthorized to perform this action." when trying to log in multiple times, which was only fixed by logging out and trying to log back in, meaning Torus never logged my account out overnight.

DLesage25 avatar Jan 18 '17 14:01 DLesage25

Are you looking for torus to log you out after X number of hours, or when your computer goes to sleep? I'm just trying to understand your use-case.

ianlivingstone avatar Jan 20 '17 18:01 ianlivingstone

I'm looking for it to log me out after an X number of hours.

DLesage25 avatar Jan 23 '17 15:01 DLesage25

We could implement this as a preference, which you'd set like torus prefs set session_duration 30h or similar. Then after 30hours, the daemon would immediately log you out requiring you to log in again.

ianlivingstone avatar Jan 23 '17 19:01 ianlivingstone

That sounds like it would fix my issue

DLesage25 avatar Jan 24 '17 20:01 DLesage25