Closed (duplicate)
Project:
Lightbox2
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2009 at 22:45 UTC
Updated:
20 Nov 2009 at 12:39 UTC
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?
Comments
Comment #1
awolfey commentedDuplicate of #356834: Introduced bug in Lightbox2 login?.