fnp
/
django-cas-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first try to implement proxy tickets
[django-cas-provider.git]
/
cas_provider
/
__init__.py
diff --git
a/cas_provider/__init__.py
b/cas_provider/__init__.py
index
1a719b4
..
d5a3520
100644
(file)
--- a/
cas_provider/__init__.py
+++ b/
cas_provider/__init__.py
@@
-4,6
+4,9
@@
__all__ = []
_DEFAULTS = {
'CAS_TICKET_EXPIRATION': 5, # In minutes
_DEFAULTS = {
'CAS_TICKET_EXPIRATION': 5, # In minutes
+ 'CAS_CUSTOM_ATTRIBUTES_CALLBACK': None,
+ 'CAS_CUSTOM_ATTRIBUTES_FORMATER': 'cas_provider.attribute_formatters.jasig',
+ 'CAS_AUTO_REDIRECT_AFTER_LOGOUT': False,
}
for key, value in _DEFAULTS.iteritems():
}
for key, value in _DEFAULTS.iteritems():
@@
-12,4
+15,4
@@
for key, value in _DEFAULTS.iteritems():
except AttributeError:
setattr(settings, key, value)
except ImportError:
except AttributeError:
setattr(settings, key, value)
except ImportError:
- pass
\ No newline at end of file
+ pass