From 4a1d57b9ac11445ae3d6ce9fbadbd0feaf19be86 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 7 Jun 2019 14:54:55 -0700 Subject: Revert "remove periods from oauth usernames" This reverts commit 04fb2c1d0683662161f1ba481d2c33e59242aade. --- python/fatcat_web/auth.py | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3