hook_auth

cram.module for Drupal 6, with mutilated hook_auth into new FormAPI thingy

  1. <?php
  2. // $Id: cram.module,v 1.7 2008/02/19 05:46:07 selmanj Exp $
  3.  
  4. /**
  5.  * Implementation of hook_menu().
  6.  */
  7. function cram_menu() {
  8.   $items['admin/settings/cram'] = array(

CRAM's hook_form_alter and hook_auth - D5->D6

  1. /**
  2.  * Implementation of hook_auth().
  3.  */
  4. function cram_auth($username, $pass, $server) {
  5.   // does the user already exist?  we don't want to authenticate non-existant users
Syndicate content