Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If user is banned it shows the proper message on the page.
Comment | File | Size | Author |
---|---|---|---|
ulogin.patch | 898 bytes | Frizus |
Comments
Comment #1
duozerskFrizus,
Thanks for a patch... it didn't apply as it is really broken - there should have been "+" signs for added strings. Anyway, you are completely right that we should show an error message for blocked user accounts.
I have reworked your idea and committed to both 7.x and 6.x (6.x didn't really need it as it was handled quite nicely by the core function user_external_login() - I just think that the code in 7.x and 6.x branches should be similar to simplify the maintenance).
Thanks
AndyB
Comment #2
Frizus CreditAttribution: Frizus commentedThanks for so quick response and reworking the idea into more clean code.