Skip to content

Remove unused session config on UI #10078

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

Merged
merged 1 commit into from
Jan 30, 2020
Merged

Conversation

jolheiser
Copy link
Member

Fixes #10073
Caused by #10050 so no backport needed.

This isn't used anywhere in the code-base as far as I can tell. It's not even a config option, and Macaron default is 0.

I left the translation in our locales in case it's ever used in the future, but simply removing it from this template fixes the error.

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jan 30, 2020
@mrsdizzie
Copy link
Member

Agree, was looking at this and Gitea has never used COOKIE_LIFE_TIME before so macaron always defaulted that value to 0 (which Gitea would show just in the admin config but in reality cookie always last for session only)

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 30, 2020
@6543
Copy link
Member

6543 commented Jan 30, 2020

rg told me the same :)

@lafriks lafriks merged commit 6bb0f20 into go-gitea:master Jan 30, 2020
@lafriks lafriks added type/bug skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Jan 30, 2020
@lafriks lafriks added this to the 1.12.0 milestone Jan 30, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
5 participants