From d28a451a558cb7e82a50f03ebdde9881f274a713 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 16 Feb 2015 13:32:14 -0500 Subject: [PATCH] Fix typos in openid provider comments Signed-off-by: Simo Sorce Reviewed-by: Patrick Uiterwijk --- ipsilon/providers/openid/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipsilon/providers/openid/auth.py b/ipsilon/providers/openid/auth.py index fcef19c..824f4f8 100644 --- a/ipsilon/providers/openid/auth.py +++ b/ipsilon/providers/openid/auth.py @@ -108,13 +108,13 @@ class AuthenticateRequest(ProviderPageBase): else: return self._respond(self.cfg.server.handleRequest(request)) - # check if this is discovery or ned identity matching checks + # check if this is discovery or needs identity matching checks if not request.idSelect(): idurl = self.cfg.identity_url_template % {'username': user.name} if request.identity != idurl: raise AuthenticationError("User ID mismatch!", 401) - # check if the ralying party is trusted + # check if the relying party is trusted if request.trust_root in self.cfg.untrusted_roots: raise AuthenticationError("Untrusted Relying party", 401) -- 2.20.1