aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/auth.py')
-rw-r--r--python/fatcat_web/auth.py2
1 files changed, 1 insertions, 1 deletions
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'],
}