middleware for the synchronization of the django session and the ASTAKOS_COOKIE
authorSofia Papagiannaki <papagian@gmail.com>
Thu, 17 May 2012 09:25:38 +0000 (12:25 +0300)
committerSofia Papagiannaki <papagian@gmail.com>
Thu, 17 May 2012 09:25:38 +0000 (12:25 +0300)
commit68ed1683f7e064557d5fc60994f7974031d6fab4
tree6b0ce3f72356449e5d9af591f05ff4e2476cb3bf
parent6ab1e98e317256cab304744ab0a6a185495aabd7
middleware for the synchronization of the django session and the ASTAKOS_COOKIE

if ASTAKOS_COOKIE is set and the request user is not authenticated (sessionid cookie has expired or deleted), authenticate and login the user

Refs: #2291
snf-astakos-app/astakos/im/middleware.py [new file with mode: 0644]
snf-astakos-app/astakos/im/synnefo_settings.py