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
$context['login_cookie_times'] is not defined for all path #4886
Comments
I didn't know you already tracked this. I made an issue about it as well, now closed. |
@frandominguez03 like i mention in the irc, you didn't fix the issue, you only hide error message. The issue keep open. |
@albertlast If I haven't submitted a pull request yet its because I'm not sure how to fix it. |
And same for maintenance mode, $context['login_cookie_times'] is undefined |
I will look into it. Seems I may need to call this sooner. So many adhoc places we call the login form. |
This fixes SimpleMachines#4886 by moving it to the Load.php for guests only. As well fixed a issue related to SimpleMachines#4833 where maintenance mode can cause a issue with HTTP/2.0 with the spdy protocol.
Look like that still exists path where the var is not setted: |
Look like that exists some path where login page is called,
where the $context['login_cookie_times'] is not defined.
Related smf post: https://www.simplemachines.org/community/index.php?topic=561477.0
related pr: #4863
commited by @jdarwood007
https://github.com/SimpleMachines/SMF2.1/blob/8902c394cf9228726a66db41053fed3131a262ff/Themes/default/Login.template.php#L259
Requirements
Steps to reproduce
The text was updated successfully, but these errors were encountered: