Compare commits

...

2 commits

Author SHA1 Message Date
344822cec0 Minor copyedit 2025-08-17 18:25:34 +12:00
a7abdfdc25 Persist cookies longer than session 2025-08-17 18:24:27 +12:00
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ async function getManagedGuilds(event) {
* @returns {ReturnType<typeof h3.useSession<{userID?: string, mxid?: string, managedGuilds?: string[], state?: string, selfService?: boolean, password?: string}>>}
*/
function useSession(event) {
return h3.useSession(event, {password: reg.as_token})
return h3.useSession(event, {password: reg.as_token, maxAge: 365 * 24 * 60 * 60})
}
module.exports.getManagedGuilds = getManagedGuilds

View file

@ -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 the people 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 who's 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.