trimming login for autocomplete issues

This commit is contained in:
balzack 2022-12-28 15:25:34 -08:00
parent 067abfea0d
commit b973de5620

View File

@ -61,7 +61,7 @@ export function useLogin() {
if (!state.busy) {
updateState({ busy: true });
try {
await app.actions.login(state.login, state.password);
await app.actions.login(state.login.trim(), state.password);
}
catch (err) {
console.log(err);