Fixed typos
authorThierry Florac <thierry.florac@onf.fr>
Thu, 02 Jun 2016 16:20:53 +0200
changeset 67 a6e6f1bc9e22
parent 66 f76e2610d4d9
child 68 6302ba59d8ea
Fixed typos
src/pyams_security/interfaces/__init__.py
src/pyams_security/views/oauth.py
--- a/src/pyams_security/interfaces/__init__.py	Thu Jun 02 16:20:29 2016 +0200
+++ b/src/pyams_security/interfaces/__init__.py	Thu Jun 02 16:20:53 2016 +0200
@@ -192,7 +192,7 @@
     def get_principal(self, principal_id, info=True):
         """Returns real principal matching given ID, or None
 
-        If info is True, returns a PrincipalINfo record instead
+        If info is True, returns a PrincipalInfo record instead
         of original principal object
         """
 
--- a/src/pyams_security/views/oauth.py	Thu Jun 02 16:20:29 2016 +0200
+++ b/src/pyams_security/views/oauth.py	Thu Jun 02 16:20:53 2016 +0200
@@ -70,7 +70,7 @@
     manager = query_utility(ISecurityManager)
     if (manager is None) or not manager.enable_social_login:
         raise HTTPNotFound()
-    # store referer
+    # store referrer
     session = request.session
     if LOGIN_REFERER_KEY not in session:
         session[LOGIN_REFERER_KEY] = request.referer