const http = require('../http');
const { extractStart } = require('./api');

async function login(url, account)
{
    return extractStart(await http({ url: url + account.value + '.html?login=true' }));
}

module.exports = login;