diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-08-13 22:18:06 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-08-13 22:18:06 +0800 |
commit | 7dc3a90d1252137859a687e32313ea569dcf8796 (patch) | |
tree | 8da73e6ca6f22a8e08c0126b5521e74d77005f45 /config.php.sample | |
parent | 853b6d38b362e3a905195d9ff850c9a884d412bd (diff) |
Added a configuration option to disable OpenID.
If $config['openid']['enabled'] is set to false, OpenID is removed from
the navigation and direct accesses to OpenID login pages redirect to the
login page.
If OpenID is enabled, $config['site']['openidonly'] is ignored, i.e.
OpenID is required to go OpenID-only.
Diffstat (limited to 'config.php.sample')
-rw-r--r-- | config.php.sample | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.php.sample b/config.php.sample index 8b4b777f2..1dc123aaf 100644 --- a/config.php.sample +++ b/config.php.sample @@ -99,6 +99,9 @@ $config['sphinx']['port'] = 3312; // $config['xmpp']['public'][] = 'someindexer@example.net'; // $config['xmpp']['debug'] = false; +// Disable OpenID +// $config['openid']['enabled'] = false; + // Turn off invites // $config['invite']['enabled'] = false; |