Support » Plugin: Cerber Security & Limit Login Attempts » Bug in the Custom-Login-Page

  • Since the last Update (5.1) WP-Cerber seems to block Custom Style-Sheets at the Login-Page, if the Custom-Loginpage is enabled

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gioni

    (@gioni)

    Please be more specific and explain what do you mean by the “Custom Style-Sheets”.

    I’m using a Child-Theme to customize the Login-Page

    
    <?php
    function custom_login() { 
        wp_enqueue_style('login-styles', get_stylesheet_directory_uri().'/login.css');
    }
    add_action('login_head', 'custom_login');
    ?>
    

    Some other Plugins, like User Switching (https://de.wordpress.org/plugins/user-switching/) can’t manipulate the Login/Logout-Page, too.

    Experiencing the same issues since the last update.

    Hello! I have the same issue, in version 5.0 my custom login page works fine but in 5.1 not šŸ™

    Max Beta

    (@max-beta)

    Same problem here.

    I usually change the WP logo but I also added a background image at one site. All these changes are lost with 5.1.

    Plugin Author Gioni

    (@gioni)

    Hi! I’ll be back soon. Iā€™m off the grid now.

    Having the same problem since testing 5.1 on our dev sites. Using a child theme to get custom login css and even title attributes for the image.

    This is the code in our Child Theme’s functions.php file that no longer works as of 5.1. Doesn’t throw any errors either.

    <?php
    
    function my_login_logo() {
        wp_enqueue_style( 'login-custom-style', get_stylesheet_directory_uri(). '/login_style.css', array('login') );
    }
    add_action( 'login_enqueue_scripts', 'my_login_logo' );
    
    function my_loginURL() {
        return 'https://www.mysite.com';
    }
    add_filter('login_headerurl', 'my_loginURL');
    
    function my_loginURLtext() {
        return 'Built by MyCompany, Inc.';
    }
    add_filter('login_headertitle', 'my_loginURLtext');
    ?>
    • This reply was modified 2 days, 3 hours ago by  aeeiee.
Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.