From 4d60093e537ec3a28e12908f85d0195b79f5a8e4 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 17 Sep 2019 20:27:22 -0700 Subject: remove '@' from archive.org ident --- python/fatcat_web/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/fatcat_web/auth.py b/python/fatcat_web/auth.py index 860bd3dc..c3f7fc05 100644 --- a/python/fatcat_web/auth.py +++ b/python/fatcat_web/auth.py @@ -126,7 +126,7 @@ def handle_ia_xauth(email, password): FakeOAuthRemote = namedtuple('FakeOAuthRemote', ['name', 'OAUTH_CONFIG']) remote = FakeOAuthRemote(name='archive', OAUTH_CONFIG={'api_base_url': Config.IA_XAUTH_URI}) oauth_info = { - 'preferred_username': ia_info['itemname'], + 'preferred_username': ia_info['itemname'].replace('@', ''), 'iss': Config.IA_XAUTH_URI, 'sub': ia_info['itemname'], } -- cgit v1.2.3