yourlabs / django-session-security

A little javascript and middleware work together to ensure that the user was active during the past X minutes in any tab he has open. Otherwise, display a warning leaving a couple of minutes to show any kind of activity like moving the mouse. Otherwise, logout the user.
http://django-session-security.rtfd.org
MIT License
307 stars 141 forks source link

Requirejs compatibility #41

Open dwatkinsweb opened 9 years ago

dwatkinsweb commented 9 years ago

I use requirejs for javascript modularity but django-session-security doesn't work well with requirejs. Even going outside the normal recommended use of requirejs and I can't get it to work. I'm no longer getting javascript errors, but still seems like things are not functioning.

jpic commented 9 years ago

We could not reproduce your issue. If it's still a problem for you, please respond to this issue using the following template:

OS Version:
Python version:
Django version:
App version:
Database version (if appliable):
Database driver version (if appliable):
Browser version (if appliable):

Traceback (please paste the COMPLETE traceback here):

Forms (only paste relevant section):

javascript / html:

How to reproduce this bug:

-
-
-

Excepted result:

Actual result:

If you want a almost garanteed fast answer, then instead of pasting code above, you could:

See details in community documentation: http://docs.yourlabs.org

Thanks a lot for helping django-session-security better.

Sincerely

YourLabs core-dev team