Jump to:
| Project: | HTTP authentication |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
Thanks for investigating the problem, including form.inc fixes it.
httpauth-6.x-1.2 should appear any minute now.
#2
Thanks. Fix works.
#3
Automatically closed -- issue fixed for two weeks with no activity.