I used this module to put user login form in my menu. What happens is when user is not successful with the login, the error message is not shown after refresh (in fact, it appears after second refresh). The problem here is that the block is injected in the menu link in a theme function which is too late for messages to be shown. See my patch for easy fix - I moved the block loading/rendering part to the hook_translated_menu_link_alter and problem is solved.

Comments

m1n0’s picture

m1n0’s picture

What is holding this from being committed? I believe this is a very simple patch that could go out.

m1n0’s picture

Since I became co-maintainer in the meantime, I fixed this issue in 7.x-1.x.

m1n0’s picture

Status: Needs review » Closed (fixed)

  • Commit e6914f0 on 7.x-1.x by m1n0:
    Issue #2221947 by m1n0: Fixed Drupal messages not shown after form...