• Resolved heltonsmith

    (@heltonsmith)


    User login does not work. Freezes upon login. I had to add a patch solution so that the page is refreshed and users can log in.
    
    I need a definitive solution.
    
    this is the patch solution i added to the theme's footer.php.
    
    <script>
        window.onload = function () {
        if (window.location.href.indexOf ("my-account-2")> -1) {
     if (window.location.href.indexOf ("my-account-2 / #")> -1 || window.location.href.indexOf ("my-account-2 / chat")> -1 || window. location.href.indexOf ("my-account-2 / enrolled-courses")> -1 || window.location.href.indexOf ("my-account-2 / settings")> -1 ||
    window.location.href.indexOf ("my-account-2 / enrolled-quizzes")> -1 || window.location.href.indexOf ("my-account-2 / my-orders")> -1) {
               
           }
            else {
                window.location.href = window.location.href + "#";
                location.reload ();
            }
           }
    }
    </script>

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • dianastylemixthemes

    (@dianastylemixthemes)

    Hi @heltonsmith ,

    Please note that this issue could be connected with server cache issue. Contact your hosting provider to check server cache and then check once again.
    Also, deactivate all third-party caching plugins as well.

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘User login does not work.’ is closed to new replies.