mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
trimming login for autocomplete issues
This commit is contained in:
parent
067abfea0d
commit
b973de5620
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user