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
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

AjK - October 8, 2007 - 14:33
Project:Drupal» Site Network
Version:5.1»
Component:drupal.module» Code

#2

OsterD - February 28, 2008 - 12:19
Assigned to:Anonymous» OsterD
Status:active» patch (code needs review)

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

AjK - February 28, 2008 - 15:55
Status:patch (code needs review)» active

The user module is Core, not this module. If you think it's a bug with Core please file a bug report there.

#4

brmassa - July 31, 2008 - 05:45
Version:» 6.x-1.x-dev
Assigned to:OsterD» Anonymous
Status:active» fixed

Guys,

Drupal 6 now relies entirely on Form API. its now fixed on CVS.

regards,

massa

#5

Anonymous (not verified) - August 14, 2008 - 05:56
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.