Commit 4f60fe69 authored by Georgios Gousios's avatar Georgios Gousios
Browse files

Helpdesk application configurable entries

parent e6c61eef
......@@ -105,6 +105,7 @@ MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'synnefo.aai.middleware.SynnefoAuthMiddleware',
'synnefo.api.middleware.ApiAuthMiddleware',
'synnefo.helpdesk.middleware.HelpdeskMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.messages.middleware.MessageMiddleware'
......@@ -268,6 +269,20 @@ SYSTEM_EMAIL_ADDR="noreply@grnet.gr"
#
BYPASS_AUTHENTICATION = False
#
# Helpdesk application
#
# Duration for temporary auth tokens, created for impersonating a register
# user by help desk staff.
HELPDESK_TOKEN_DURATION_MIN = 30
# IP addresses of the machines allowed to connect as help desk
HELPDESK_ALLOWED_IP = ("127.0.0.1")
# Helpdesk auth token
HELPDESK_AUTH_TOKEN = "0xdeadbabe"
#
# Network Configuration
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment