mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Change the example of auth against an external awl to use the new way.
This commit is contained in:
parent
5e47b74ccf
commit
8df33654e3
@ -149,19 +149,20 @@ $c->admin_email ='calendar-admin@example.com';
|
||||
/********************************/
|
||||
/******* Other AWL hook *********/
|
||||
/********************************/
|
||||
//require_once('AuthPlugins.php');
|
||||
// require_once('auth-functions.php');
|
||||
// $c->authenticate_hook = array(
|
||||
// 'call' => 'auth_other_awl',
|
||||
// 'call' => 'AuthExternalAwl',
|
||||
// 'config' => array(
|
||||
/** A PgSQL database connection string for the database containing user records */
|
||||
// 'connection' => 'dbname=wrms host=otherhose port=5433 user=general',
|
||||
/** Which columns should be fetched from the database */
|
||||
// 'columns' => "user_no, active, email_ok, joined, last_update AS updated, last_used, username, password, fullname, email"
|
||||
// // A PgSQL database connection string for the database containing user records
|
||||
// 'connection' => 'dbname=wrms host=otherhost port=5433 user=general',
|
||||
// // Which columns should be fetched from the database
|
||||
// 'columns' => "user_no, active, email_ok, joined, last_update AS updated, last_used, username, password, fullname, email",
|
||||
// // a WHERE clause to limit the records returned.
|
||||
// 'where' => "active AND org_code=7"
|
||||
// )
|
||||
// );
|
||||
|
||||
|
||||
|
||||
/********************************/
|
||||
/*********** LDAP hook **********/
|
||||
/********************************/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user