@ -13,6 +13,7 @@ new Server({
if(authentication.method !== 'password')
return authentication.reject(['password']);
const { username, password } = authentication;
if(!username || !password) return authentication.reject();
authentication.accept();
client.once('session', async accept => await tui(accept(), username, password));
});