The Log In link (at the top right of each page for anonymous users) in the secondary menu seems to be hard coded. I have removed all blocks from secondary menu and the link still appears. I added other blocks into secondary menu and they do not appear, but Log In, does. Page source below.

                  <div class="region region-secondary-menu">
            <nav role="navigation" aria-labelledby="block-openchurch-theme-account-menu-menu" id="block-openchurch-theme-account-menu" class="contextual-region block block-menu navigation menu--account">
              <h2 class="visually-hidden" id="block-openchurch-theme-account-menu-menu">User account menu</h2>
              <div class="content">
                <ul class="clearfix menu">
                  <li class="menu-item">
                    <a href="/user" data-drupal-link-system-path="user">Log in</a>
                  </li>
                </ul>
              </div>
            </nav>
          </div>

Comments

Anonymous’s picture

mercergirl created an issue.

JonM’s picture

Have you tried the steps detailed here?

https://www.drupal.org/docs/7/managing-users/hide-user-login

Anonymous’s picture

Yes, of course I tried removing the login block. As I said, the login block does not appear on the blocks page. There are no blocks in the secondary menu. It seems to be hard coded, but I am not going to dig into the code.