Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I've added the 'modal_forms/nojs/login' link to a menu, included the required class names with Menu Attributes, all is fine. However the login link shows up for logged in users too.
This is because the access callback in hook_menu is set to TRUE. I think it should be 'user_is_anonymous', just like for the password form.
Comment | File | Size | Author |
---|---|---|---|
#1 | modal_form-login_access_callback-2182017.txt | 442 bytes | progpapa |
Comments
Comment #1
progpapa CreditAttribution: progpapa commentedComment #2
frjo CreditAttribution: frjo commentedCommitted to 7-dev, thanks for the contribution!