A social knowledge tool for researchers built on ATProto

fix: trim handle on sign on

+3 -3
+3 -3
src/webapp/features/auth/components/loginForm/LoginForm.tsx
··· 81 81 if (isExtensionLogin) { 82 82 ExtensionService.setExtensionTokensRequested(); 83 83 } 84 - 84 + console.log('HANDLE', form.values.handle.trimEnd()); 85 85 const { authUrl } = await apiClient.initiateOAuthSignIn({ 86 - handle: form.values.handle, 86 + handle: form.values.handle.trimEnd(), 87 87 }); 88 88 89 89 window.location.href = authUrl; ··· 106 106 setError(''); 107 107 108 108 await apiClient.loginWithAppPassword({ 109 - identifier: form.values.handle, 109 + identifier: form.values.handle.trimEnd(), 110 110 appPassword: form.values.appPassword, 111 111 }); 112 112