After updating to Drupal 6.5 it is not possible to use the HTTP authentification module. The following PHP Error is shown:
Fatal error: Call to undefined function form_get_errors() in /home/crifi/drupal/modules/user/user.module on line 1349
The reason is a patch in line 1349 of user.module in the Drupal Core:
- if (!empty($form_values['name']) && !empty($form_values['pass']) && $account) {
+ if (!form_get_errors() && !empty($form_values['name']) && !empty($form_values['pass']) && $account) {
The HTTP authentification module uses the function user_authenticate() in line 146 of httpauth.module
Please fix this issue as fast as possible, because of the conflict with patching the security issue SA-2008-060 in Drupal Core!
Comments
Comment #1
decafdennis commentedThanks for investigating the problem, including form.inc fixes it.
httpauth-6.x-1.2 should appear any minute now.
Comment #2
crifi commentedThanks. Fix works.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.