I would like there to be a single configuration variable which causes securelogin to secure all forms. I you agree, I would be happy to write the patch.
I would like there to be a single configuration variable which causes securelogin to secure all forms. I you agree, I would be happy to write the patch.
Comments
Comment #1
dixon_At some point there was some work on this here: #295069: Support for securing any form. Seem to have staled though...
Comment #2
liam morlandIt's not a duplicate. That issue is about securing any form. My feature request is a single checkbox that would secure all forms.
Comment #3
mfbI committed this feature to the dev branch - please test when you have a chance :)
Comment #4
liam morlandThe code looks good. I can't test it properly because we have moved to HTTPS-always for all our servers. One suggestion: In securelogin_form_alter(), the two conditions in the if...elseif could be in a single "if" with an "||" operator.