Commit 7ed4b9b7 authored by frjo's avatar frjo
Browse files

#883210: Redirect failed logins to the standard user login form.

parent 859f120a
......@@ -11,6 +11,12 @@
*/
function colorbox_login() {
$form_id = variable_get('colorbox_login_form', '');
// Redirect failed logins to the standard user login form.
if (isset($_POST['form_id']) && $_POST['form_id'] == $form_id) {
return drupal_get_form('user_login');
}
colorbox_form_page($form_id);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment