Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: corbosman on September 20, 2011, 05:16:13 AM

Title: how to check user activity
Post by: corbosman on September 20, 2011, 05:16:13 AM
Im implementing a onetimepassword/single signon plugin for my company, and so far everything is working great. The OTP keys have a certain expiry time, but id like to increase the time from roundcube if the user is actually active. Anyone ever looked into how to see if a user is active in RC?  I was thinking to maybe use message_load hook.  Any other options?

Regards,

Cor
Title: how to check user activity
Post by: rosali on September 21, 2011, 03:39:47 AM
Perhaps you want to look into my idle_timeout plugin ...
Title: how to check user activity
Post by: corbosman on September 21, 2011, 04:13:28 AM
Wow, thats very thorough :)  I dont need to restore the session, but it's a good read to see what you're doing.
Title: how to check user activity
Post by: rjwill on October 03, 2011, 09:02:44 AM
no but I did write a little plugin to log "username logged in" and "username logged out".