mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-06 00:11:50 -05:00
Session timeout after idle session
This commit is the UI portion of the session timeout feature for 2.4 (not incorporating the session_limit yet). This includes actively ending a session when the user's session time has expired, as well as giving the user a notification one minute prior that their session is about to end. It also includes removing 'session_timeout' from config.js. This is now retrieved from the response headers of each REST call. Each time the user make a rest call the session is extended another 1800 seconds (or whatever amount the user might configure with AUTH_TOKEN_EXPIRATION in local_settings.py)
This commit is contained in:
@@ -40,10 +40,6 @@
|
||||
password_hasSymbol: false, // require one of these symbols to be
|
||||
// in the password: -!$%^&*()_+|~=`{}[]:";'<>?,./
|
||||
|
||||
session_timeout: 1800, // Number of seconds before an inactive session is automatically timed out and forced to log in again.
|
||||
// Separate from time out value set in API.
|
||||
|
||||
|
||||
variable_edit_modes: { // Options we pass to ControlMirror for editing YAML/JSON variables
|
||||
yaml: {
|
||||
mode:"text/x-yaml",
|
||||
|
||||
Reference in New Issue
Block a user