Hi,
Sometimes I see duplicated messages when I visit a page before I changed my password. So it looks like this:
- An administrator has required that you change your password. You must change your password to proceed on the site.
- An administrator has required that you change your password. You must change your password to proceed on the site.
Please consider to modify the following line to avoid of it:
Line 29:
From:
drupal_set_message(t('An administrator has required that you change your password. You must change your password to proceed on the site.'), 'error');
To:
drupal_set_message(t('An administrator has required that you change your password. You must change your password to proceed on the site.'), 'error', FALSE);
Add the third parameter $repeat for drupal_set_message.
Reference:
http://api.drupal.org/api/function/drupal_set_message/6
Comments
Comment #1
andyhu commentedHere is the patch file...
Comment #3
jaypanThank you! I am adding this change to the next version of the module, out in a few hours.
Comment #4
jaypan