function handleRegisterPage(req, res) {
    if (res.locals.loggedIn) {
        sendPug(res, "register", {});
        return;
    }

    sendPug(res, "register", {
        registered: false,
        registerError: false
    });
}
/**
 * Handles a GET request for /register
 */
Handles a GET request for /register
Handles a GET request for / register
function handleRegisterPage(req, res) {
    if (res.locals.loggedIn) {
        sendPug(res, "register", {});
        return;
    }
    sendPug(res, "register", {
        registered: false,
        registerError: false
    });
}
function handleRegisterPage ( req , res ) { if ( res . locals . loggedIn ) { sendPug ( res , "register" , { } ) ; return ; } sendPug ( res , "register" , { registered : false , registerError : false } ) ; }
Handles a GET request for /register
Handles a GET request for / register