Beter speling.
authordeyk <deyk@crossway.org>
Mon, 16 Apr 2012 18:41:31 +0000 (11:41 -0700)
committerdeyk <deyk@crossway.org>
Mon, 16 Apr 2012 18:41:31 +0000 (11:41 -0700)
cas_provider/views.py

index bd9797c..3f2607f 100644 (file)
@@ -340,8 +340,8 @@ def auth_success_response(user, pgt, proxies):
         callback = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_CALLBACK)
         attrs = callback(user)
         if len(attrs) > 0:
         callback = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_CALLBACK)
         attrs = callback(user)
         if len(attrs) > 0:
-            formater = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_FORMATER)
-            formater(auth_success, attrs)
+            formatter = get_callable(settings.CAS_CUSTOM_ATTRIBUTES_FORMATER)
+            formatter(auth_success, attrs)
 
     if pgt:
         pgtElement = etree.SubElement(auth_success, CAS + 'proxyGrantingTicket')
 
     if pgt:
         pgtElement = etree.SubElement(auth_success, CAS + 'proxyGrantingTicket')