We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8326b68 + 30f2104 commit 01ed6d1Copy full SHA for 01ed6d1
mozilla_django_oidc/auth.py
@@ -28,7 +28,7 @@ def default_username_algo(email):
28
# this protects against data leakage because usernames are often
29
# treated as public identifiers (so we can't use the email address).
30
return base64.urlsafe_b64encode(
31
- hashlib.sha224(smart_bytes(email)).digest()
+ hashlib.sha1(smart_bytes(email)).digest()
32
).rstrip(b'=')
33
34
0 commit comments