diff --git a/src/web/auth.js b/src/web/auth.js index c14dcd8..77e60cd 100644 --- a/src/web/auth.js +++ b/src/web/auth.js @@ -26,7 +26,7 @@ async function getManagedGuilds(event) { * @returns {ReturnType>} */ function useSession(event) { - return h3.useSession(event, {password: reg.as_token, maxAge: 365 * 24 * 60 * 60}) + return h3.useSession(event, {password: reg.as_token}) } module.exports.getManagedGuilds = getManagedGuilds diff --git a/src/web/pug/home.pug b/src/web/pug/home.pug index d562250..232bd3d 100644 --- a/src/web/pug/home.pug +++ b/src/web/pug/home.pug @@ -49,7 +49,7 @@ block body if locked h2 This is a private instance - p Anybody can run their own instance of the Out Of Your Element software. The person running this instance has made it private, so you can't add it to your server just yet. If you know who's in charge of #{reg.ooye.server_name}, ask them for the password. + p Anybody can run their own instance of the Out Of Your Element software. The person running this instance has made it private, so you can't add it to your server just yet. If you know the people in charge of #{reg.ooye.server_name}, ask them for the password. h2 Run your own instance p You can still use Out Of Your Element by running your own copy of the software, but this requires some technical skill.