text: require("dotenv").config();
  
  function renderLogin(req, res) {
    const authLink = "https://untappd.com/oauth/authenticate/?client_id=" + process.env.CLIENTID + "&response_type=code&redirect_url=" + process.env.REDIRECT_URL;
    const jsEnabled = req.cookies.js_enabled;
  
    res.status(200).render("login", {
      error: false,
      authLink: authLink,
      jsEnabled: jsEnabled
    });
  }
  
  module.exports = renderLogin;
  