Distributed authentication option always shown at registration page
bloomaniac - March 14, 2007 - 22:06
| Project: | Site Network |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
If you enable Drupal.module on the registration page (.../user/register) there is always a hint that you can use distributed authentication.
I disabled distributed authentication but this hint is always there.

#1
#2
A very simple workaround to this would be the following code, under the user module on user_register() :
$affiliates = user_auth_help_links();
- if (!$admin && count($affiliates) > 0) {
+ if ((!$admin && count($affiliates) > 0) && variable_get('drupal_authentication_service', 0)) {
If I knew how to write a patch for this I would, sorry guys.
Tested on my site and works fine.
#3
The user module is Core, not this module. If you think it's a bug with Core please file a bug report there.
#4
Guys,
Drupal 6 now relies entirely on Form API. its now fixed on CVS.
regards,
massa
#5
Automatically closed -- issue fixed for two weeks with no activity.