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

Fix invalid error message on accept terms of use page #3189

Merged
merged 2 commits into from
Jun 26, 2019
Merged

Conversation

TheAspens
Copy link
Member

Fixes #3188

Description of the Change
Instead of generating an error page when the use hasn't selected to use the "Stay Logged In" feature, the website should handle the absence the checkbox and simply create a session cookie. This is done by setting $perm = false instead of generating the error page if the tempperm cookie is not present.

Release Notes
Fix bug causing an error when user did not select "Stay Logged In" and they needed to accept the websites terms of use.

…in and they needed to accept the consent on the website, the pa

ge reported an error because it expected the tempperm cookie to exist.  This is a valid condition and should not generate an error.
@Rytiss Rytiss merged commit c53a625 into master Jun 26, 2019
@Rytiss Rytiss deleted the knr_bf_tou branch June 26, 2019 05:29
@AenBleidd AenBleidd added this to the Server Release 1.2.0 milestone Aug 14, 2023
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.

Agreeing to Terms of Use when Logging In without checking "Stay Logged In" Generates Error
3 participants