mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-19 07:52:54 +01:00
3b8e94ce66
* Add account requests, email user on password update, RFC2307BIS autodetection and various bug fixes. * Remove test.php
22 lines
550 B
PHP
22 lines
550 B
PHP
<?php
|
|
|
|
#Modules and how they can be accessed.
|
|
|
|
#access:
|
|
#auth = need to be logged-in to see it
|
|
#hidden_on_login = only visible when not logged in
|
|
#admin = need to be logged in as an admin to see it
|
|
|
|
$MODULES = array(
|
|
'log_in' => 'hidden_on_login',
|
|
'change_password' => 'auth',
|
|
'account_manager' => 'admin',
|
|
'log_out' => 'auth'
|
|
);
|
|
|
|
if ($ACCOUNT_REQUESTS_ENABLED == TRUE) {
|
|
$MODULES['request_account'] = 'hidden_on_login';
|
|
}
|
|
|
|
?>
|