summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-02-16 13:32:14 -0500
committerSimo Sorce <simo@redhat.com>2015-02-20 15:31:29 -0500
commit6bf634439de0b17deb2f3074eea31beaed49f3e9 (patch)
treedda3689de78082fafb42047fc1a4d70be6be25c6
parent0655c49ce84f953954de900b120e1660881400cb (diff)
downloadipsilon-6bf634439de0b17deb2f3074eea31beaed49f3e9.tar.gz
ipsilon-6bf634439de0b17deb2f3074eea31beaed49f3e9.tar.xz
ipsilon-6bf634439de0b17deb2f3074eea31beaed49f3e9.zip
Fix typos in openid provider comments
Signed-off-by: Simo Sorce <simo@redhat.com>
-rw-r--r--ipsilon/providers/openid/auth.py4
1 files 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)