Added optional authentication method.
commit95aedf50f742367e68753c91824faa6aadcab9a0
authorDavid Konsumer <konsumer@jetboystudio.com>
Tue, 30 Dec 2008 14:48:44 +0000 (30 06:48 -0800)
committerHeikki Hokkanen <hoxu@users.sf.net>
Tue, 30 Dec 2008 19:05:41 +0000 (30 21:05 +0200)
treeb2e1f588f328d04af2d2a9f8e90a8d2f5fb26c56
parentd05ba22b42c2ab0a0e8f7e3e8cd47a8c8672ad67
Added optional authentication method.

Example authentication methods included for drupal.

$conf['auth_lib'] must be set to use this. When set, inc/<name>.php is included
and must contain auth_check() function. The function should do whatever checks
required based on global / request variables, and die() if access is denied.

[hoxu@users.sf.net: separated from a larger commit by David; wrote commit
oessage]

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
inc/auth_drupal_user.php [new file with mode: 0644]
inc/example-localconfig.php
index.php