Support » Plugin: Clean Login » Options not saved

  • Resolved softfall

    (@softfall)


    I try save option settings such as redirects on login/logout and enable password complexity, but they do not appear to be saved and do not fire. The login and logout functionality are fine.
    What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Having the same problem. Settings don’t seem to stick when saved. What might be the problem?

    Ok, I digged through some files and managed to fix it. Issue is with data sanitization in line 828 in clean-login.php:

    $_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_FULL_SPECIAL_CHARS );

    FILTER_SANITIZE_FULL_SPECIAL_CHARS is not supported for PHP version lower than 5.3.3.

    Two solutions for that:

    1) Upgrade your env PHP version

    2) If that is not possible, you can replace this filter with one that is more widely supported like:

    $_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_SPECIAL_CHARS );

    Thanks for the suggestions. I may in fact be needing a PHP upgrade and will try that first.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Options not saved’ is closed to new replies.