Skip to content

Commit

Permalink
Merge pull request #237 from mklan/patch-1
Browse files Browse the repository at this point in the history
Typo in installation.rst
  • Loading branch information
johngian committed May 28, 2018
2 parents 35687c5 + 6c0ddb6 commit 46bac06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ email address. Then we could do this:
from mozilla_django_oidc.auth import OIDCAuthenticationBackend
class MyOIDCAB(OIDCAuthenticationBackend):
def filter_users_by_claims(self, claim):
def filter_users_by_claims(self, claims):
email = claims.get('email')
if not email:
return self.UserModel.objects.none()
Expand Down

0 comments on commit 46bac06

Please sign in to comment.