--- 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