[documentation] [Documentation bug] hook_auth() should say, "only invoked when logging in using user@domain format"

chx drupal-docs at drupal.org
Thu Apr 20 17:02:42 UTC 2006


Issue status update for 
http://drupal.org/node/31772
Post a follow up: 
http://drupal.org/project/comments/add/31772

-Project:      Drupal
+Project:      Documentation
 Version:      <none>
-Component:    user system
+Component:    Admin Guide
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  bslade
 Updated by:   chx
 Status:       active

Then this is a docs issue.




chx



Previous comments:
------------------------------------------------------------------------

Tue, 20 Sep 2005 21:00:42 +0000 : bslade

The hook documentation in the file authentication.php [1] doesn't say
that hook_auth() is only invoked when the user logs in using the
user at domain format login info (ie a non-local login).   Ie. if you
login with just username, hook_auth() isn't called for modules.   It
should say that.



See discussion in related issues:



* Authentication hook for local users [2]
* Authentication Module for local users [3]


Since this issue refers to documentation in code, I'm not sure if this
issue should be submitted under documentation or code.  Apologies if
I'm submitting it in the wrong place.



Ben in DC
PublicMailbox at benslade dot com


[1]
http://drupaldocs.org/api/head/file/contributions/docs/developer/hooks/a...
[2] http://drupal.org/node/29147
[3] http://drupal.org/node/27959






More information about the documentation mailing list