function updateLogin(vnode) {
            const path = vnode.target.value;
            const cursorPos = vnode.target.selectionStart;
            this.setLogin(path, path.slice(0, cursorPos));
        }
Update login

@since 3.11.0

@param {object} vnode