It displays an ERROR 500 when I access user login page.
And I have to update the external_db_login.module as below, otherwise I cannot see the login form:
Updated the line 195~203:
if ($form_id == 'user_login') {
module_load_include('inc', 'external_db_login', 'includes/external_db');
//$connection = get_ex_db_connection();
//if ($connection === 'external_db_login_connection') {
//always apply the external db login
if(true){
array_unshift($form['#validate'], 'external_db_login_validate');
$form['name']['#title'] = t("Email id / Username");
$form['name']['#description'] = t("Enter your email id / username.");
}
}
I'm using Drupal 7.38, please let me know if you need any information. Thanks.
Comments