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) {
|
if (!state.busy) {
|
||||||
updateState({ busy: true });
|
updateState({ busy: true });
|
||||||
try {
|
try {
|
||||||
await app.actions.login(state.login, state.password);
|
await app.actions.login(state.login.trim(), state.password);
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user