Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login #3

Open
PortalRex opened this issue Sep 18, 2024 · 3 comments
Open

Unable to login #3

PortalRex opened this issue Sep 18, 2024 · 3 comments
Labels
bug Something isn't working deno2 Update to Deno 2

Comments

@PortalRex
Copy link

Describe the bug
Currently unable to login to the site

To Reproduce
Steps to reproduce the behavior:

  1. Authorize login
  2. Not logged in

Expected behavior

Be logged in

Screenshots

Desktop/Smartphone Information

  • OS: Windows 11
  • Browser: Chrome
  • Version: most recent

Additional context

@PortalRex PortalRex added the bug Something isn't working label Sep 18, 2024
@NeKzor
Copy link
Owner

NeKzor commented Sep 19, 2024

Looks like it's not setting the correct expires value in the session cookie oops:

expires: new Date(Date.now() + 86_400_000 * 30),

This is kinda annoying to fix at the moment because we want to use maxAge instead but oak_sessions is super outdated.

@PortalRex
Copy link
Author

Appears to be fixed?

@NeKzor
Copy link
Owner

NeKzor commented Oct 9, 2024

This is only temporary every time I restart the server. The real fix would be a code change.

@NeKzor NeKzor added the deno2 Update to Deno 2 label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deno2 Update to Deno 2
Projects
None yet
Development

No branches or pull requests

2 participants