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

"Remember me" login option does not function as expected #527

Open
42daha opened this issue Dec 15, 2024 · 0 comments
Open

"Remember me" login option does not function as expected #527

42daha opened this issue Dec 15, 2024 · 0 comments

Comments

@42daha
Copy link

42daha commented Dec 15, 2024

Checking the "Remember me" login option does not create a login cookie with a 1-year expiration; instead it creates a login cookie that expires at the end of the session.

The issue appears to be in login.php at line 225. The checkbox input for the form is not being sent with the POST because the input field lacks a "name" attribute, and lacks a "value" attribute to define the value in the POST data when set.

Changing line 225 to the following appears to fix the issue (changes in bold):
<input type="checkbox" class="form-check-input" id="remember-me" name="remember" value="yes">

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

No branches or pull requests

1 participant