tangled
alpha
login
or
join now
cosmik.network
/
semble
43
fork
atom
A social knowledge tool for researchers built on ATProto
43
fork
atom
overview
issues
13
pulls
pipelines
fix: trim handle on sign on
Pouria Delfanazari
4 months ago
1b3fa669
3b09d43f
+3
-3
1 changed file
expand all
collapse all
unified
split
src
webapp
features
auth
components
loginForm
LoginForm.tsx
+3
-3
src/webapp/features/auth/components/loginForm/LoginForm.tsx
···
81
81
if (isExtensionLogin) {
82
82
ExtensionService.setExtensionTokensRequested();
83
83
}
84
84
-
84
84
+
console.log('HANDLE', form.values.handle.trimEnd());
85
85
const { authUrl } = await apiClient.initiateOAuthSignIn({
86
86
-
handle: form.values.handle,
86
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
109
-
identifier: form.values.handle,
109
109
+
identifier: form.values.handle.trimEnd(),
110
110
appPassword: form.values.appPassword,
111
111
});
112
112