summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-07 14:54:55 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-07 14:54:55 -0700
commit4a1d57b9ac11445ae3d6ce9fbadbd0feaf19be86 (patch)
treeaf8c2c3101b19a9707db5ce2bd78a61471426013
parent04fb2c1d0683662161f1ba481d2c33e59242aade (diff)
downloadfatcat-4a1d57b9ac11445ae3d6ce9fbadbd0feaf19be86.tar.gz
fatcat-4a1d57b9ac11445ae3d6ce9fbadbd0feaf19be86.zip
Revert "remove periods from oauth usernames"
This reverts commit 04fb2c1d0683662161f1ba481d2c33e59242aade.
-rw-r--r--python/fatcat_web/auth.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/fatcat_web/auth.py b/python/fatcat_web/auth.py
index a83fd73f..06c8475b 100644
--- a/python/fatcat_web/auth.py
+++ b/python/fatcat_web/auth.py
@@ -62,7 +62,6 @@ def handle_oauth(remote, token, user_info):
else:
preferred_username = user_info['sub']
- preferred_username = preferred_username.replace('.', '')
params = fatcat_client.AuthOidc(remote.name, user_info['sub'], iss, preferred_username)
# this call requires admin privs
(resp, http_status, http_headers) = priv_api.auth_oidc_with_http_info(params)