modal login form sends user to the wrong form on login error
MikeyLikesIt - November 4, 2009 - 22:45
| Project: | Lightbox2 |
| Version: | 6.x-1.9 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I wanted to use the modal login form feature of lightbox, and got the form to appear by putting this in a block:
<a rel="lightmodal[|width:250px; height:150px;]" href="/user/login/?destination=<?php print $_GET['q']; ?>">Account Login</a> / <a href="/user/register">Create An Account</a>However, when a user enters the wrong information, the user is sent to /user/login/lightbox2?destination=SITE_PAGE, which is of course not themed. This means that drupal isn't able to pass on the error message about the username and password.
How can we make it so that on an error with processing the login that the user is sent back to /user/login?destination=SITE_PAGE (without the "/lightbox" addition) so that these errors can be properly handled by drupal?

#1
Duplicate of #356834: Introduced bug in Lightbox2 login?.