Skip to content

Honor remember_login_cookie_lifetime - #13747

Merged
rullzer merged 1 commit into
masterfrom
fix/honor_session_lifetime_if_remember_cookie_is_disabled
Jan 23, 2019
Merged

Honor remember_login_cookie_lifetime#13747
rullzer merged 1 commit into
masterfrom
fix/honor_session_lifetime_if_remember_cookie_is_disabled

Conversation

@rullzer

Copy link
Copy Markdown
Member

If the remember_login_cookie_lifetime is set to 0 this means we do not
want to use remember me at all. In that case we should also not create
a remember me cookie and should create a proper temp token.

Further this specifies that is not 0 the remember me time should always
be larger than the session timeout. Because else the behavior is not
really defined.

@nickvergessennickvergessen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code makes sense 👍

@MorrisJobke

Copy link
Copy Markdown
Member

Phpunit failed

If the remember_login_cookie_lifetime is set to 0 this means we do not
want to use remember me at all. In that case we should also not creatae
a remember me cookie and should create a proper temp token.
Further this specifies that is not 0 the remember me time should always
be larger than the session timeout. Because else the behavior is not
really defined.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer
rullzerforce-pushed the fix/honor_session_lifetime_if_remember_cookie_is_disabled branch from 216aa81 to e6333c8CompareJanuary 23, 2019 07:46
@rullzer
rullzer merged commit f2b118a into masterJan 23, 2019
@rullzer
rullzer deleted the fix/honor_session_lifetime_if_remember_cookie_is_disabled branch January 23, 2019 09:12
@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable15

@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable14

@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable15 in #13758

@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable14 failed. Please do this backport manually.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@MorrisJobke@nickvergessen