Active
Project:
Remote login block
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2011 at 09:05 UTC
Updated:
15 Oct 2011 at 09:05 UTC
Login redirects to 'http://example.com/user/login?destination=' of the drupal site instead of logging in.
However, I found out that changing the log in form used to 'user_login' instead of 'user_login_block' gets it working correctly.
Line 8 of rlogin.module from:
define('LOGIN_FORM', 'user_login_block');
to define('LOGIN_FORM', 'user_login');
and line 79
if ($form_id == 'user_login_block') {
....
}
to
if ($form_id == 'user_login') {
....
}
I believe this is an error. Or am I mistaken?