recursivefaults / meteor-session-timeout

A simple meteorite package to give you session timeouts.
MIT License
10 stars 5 forks source link

Firecallback before/after logout ? #4

Open MaerF0x0 opened 10 years ago

MaerF0x0 commented 10 years ago

I'd like, to use this package, but need to fire a callback before or after the idle logout happens. I want to do this so the site can render a message "Sorry you were idle and we logged you out" .

Would you accept a PR w/ this if I wrote it?

recursivefaults commented 10 years ago

I think the idea of optional pre and post callbacks are a great idea!— Sent from Mailbox

On Fri, Aug 1, 2014 at 3:41 PM, Mike Graf notifications@github.com wrote:

I'd like, to use this package, but need to fire a callback before or after the idle logout happens. I want to do this so the site can render a message "Sorry you were idle and we logged you out" .

Would you accept a PR w/ this if I wrote it?

Reply to this email directly or view it on GitHub: https://github.com/recursivefaults/meteor-session-timeout/issues/4