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

Customise login expiry #177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

alan-roe
Copy link

I wanted my login to last longer. With this change the config.yml can be modified to set the amount of days, hours, minutes you might want the cookie to be valid for. If the config file isn't set then it uses the default of however long the session lasts.

sessionTimeout:
  days: 365
  hours: 0
  minutes: 0

I noticed an issue exists for it here #138

fitchmultz added a commit to fitchmultz/chat-with-gpt that referenced this pull request Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant