Tethys Login

12 views
Skip to first unread message

Michael S

unread,
Jul 20, 2017, 12:03:40 PM7/20/17
to Tethys Platform
This is a minor thing, but I've noticed that now I have to login to Tethys every time I access it in my browser. It is kind of a pain to have to login all the time especially with the new captcha. Is there a setting to keep you logged in?

Thanks,
Michael

Shawn Crawley

unread,
Jul 20, 2017, 2:59:00 PM7/20/17
to Michael S, Tethys Platform
Yeah, there are three session security settings in the settings.py that you configure as you please. These are shown below (with their defaults).

SESSION_EXPIRE_AT_BROWSER_CLOSE = True

# Warn user of forced logout after indicated number of seconds
SESSION_SECURITY_WARN_AFTER = 840

# Force user logout after a certain number of seconds
SESSION_SECURITY_EXPIRE_AFTER = 900


--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/a9cda350-5589-4287-a57d-e8ca3b3c78de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael S

unread,
Jul 20, 2017, 5:17:23 PM7/20/17
to Tethys Platform, masou...@gmail.com
Awesome. Thanks!

Nathan Swain

unread,
Jul 21, 2017, 1:01:44 PM7/21/17
to Michael S, Tethys Platform
I should mention that that is a security feature, Michael. So no one could hijack your session...


For more options, visit https://groups.google.com/d/optout.
--
Nathan Swain, Ph.D.
Project Engineer
Aquaveo, LLC

Scott Christensen

unread,
Jul 25, 2017, 5:32:10 PM7/25/17
to Nathan Swain, Michael S, Tethys Platform
Now that we can specify whether a settings.py file is for production or not when it is created, maybe we should change what the defaults for these settings are in a development environment.


For more options, visit https://groups.google.com/d/optout.
--
Scott D. Christensen, PhD
Research Civil Engineer
Information Technology Laboratory  
US Army Corps of Engineers
 
Reply all
Reply to author
Forward
0 new messages