Skip to content
Snippets Groups Projects
Commit d8d888a2 authored by Cornelius Kölbel's avatar Cornelius Kölbel
Browse files

Fix no-cache problem with IE11

parent aa85ab3a
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ info: ...@@ -10,7 +10,7 @@ info:
@echo "make ppa-dev - upload to launchpad development repo" @echo "make ppa-dev - upload to launchpad development repo"
#VERSION=1.3~dev5 #VERSION=1.3~dev5
VERSION=2.0~dev5 VERSION=2.0.1
SERIES="trusty precise" SERIES="trusty precise"
LOCAL_SERIES=`lsb_release -a | grep Codename | cut -f2` LOCAL_SERIES=`lsb_release -a | grep Codename | cut -f2`
SRCDIRS=deploy authmodules migrations doc tests debian tools privacyidea SRCDIRS=deploy authmodules migrations doc tests debian tools privacyidea
......
python-privacyidea (2.0.1-1trusty) trusty; urgency=low
* Fix no-cache problem with IE11
-- Cornelius Kölbel <cornelius@privacyidea.org> Sun, 01 Mar 2015 16:40:00 +0200
python-privacyidea (2.0~dev5-1trusty) trusty; urgency=low python-privacyidea (2.0~dev5-1trusty) trusty; urgency=low
* Migrate to flask * Migrate to flask
......
...@@ -124,6 +124,9 @@ def after_request(response): ...@@ -124,6 +124,9 @@ def after_request(response):
# completely so that we do not have an audit_object # completely so that we do not have an audit_object
if "audit_object" in g: if "audit_object" in g:
g.audit_object.finalize_log() g.audit_object.finalize_log()
# No chaching!
response.headers['Cache-Control'] = 'no-cache'
return response return response
......
...@@ -73,6 +73,9 @@ def after_request(response): ...@@ -73,6 +73,9 @@ def after_request(response):
# completely so that we do not have an audit_object # completely so that we do not have an audit_object
if "audit_object" in g: if "audit_object" in g:
g.audit_object.finalize_log() g.audit_object.finalize_log()
# No chaching!
response.headers['Cache-Control'] = 'no-cache'
return response return response
......
...@@ -4,7 +4,7 @@ import os ...@@ -4,7 +4,7 @@ import os
import glob import glob
import sys import sys
VERSION="2.0dev5" VERSION="2.0.1"
# Taken from kennethreitz/requests/setup.py # Taken from kennethreitz/requests/setup.py
package_directory = os.path.realpath(os.path.dirname(__file__)) package_directory = os.path.realpath(os.path.dirname(__file__))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment