DrupalBin
Submit Code
About
Recent Posts
how to add a ahah form element after submit
8 hours 57 min
ago
user_deco add functions
9 hours 8 min
ago
simple version
12 hours 1 min
ago
Fix for D6 path_set_alias
12 hours 57 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
hook_auth
cram.module for Drupal 6, with mutilated hook_auth into new FormAPI thingy
February 19, 2008 - 12:31pm — Anonymous
<?php
// $Id: cram.module,v 1.7 2008/02/19 05:46:07 selmanj Exp $
/**
* Implementation of hook_menu().
*/
function
cram_menu
(
)
{
$items
[
'admin/settings/cram'
]
=
array
(
CRAM
Form API
hook_auth
Read more
CRAM's hook_form_alter and hook_auth - D5->D6
February 19, 2008 - 8:15am — Anonymous
/**
* Implementation of hook_auth().
*/
function
cram_auth
(
$username
,
$pass
,
$server
)
{
// does the user already exist? we don't want to authenticate non-existant users
CRAM
hook_auth
hook_form_alter
Read more