that's good way to config the plugin as the 0.8, I think statusnet official developer should disable all the plugin as default, and make the plugin readme with more detail.
There isn't a hook for $config['openid']['enabled'] in the code, so it won't do anything to set it. The only way for this to be "turned off" is by removing the plugin in the config.php like @abulte mentioned: unset($config['plugins']['default']['OpenID']);
Comments
I have even tried unloading the menu item through a class like so:
class RemoveMenuItems extends Plugin {
function __construct() {
parent::__construct();
public function onStartAccountSettingsDesignMenuItem( $action, $menu) {
return false; <--- Works<br /> }
public function onEndAccountSettingsOpenIDMenuItem( $action, $menu) {
return false; <---- this is not working!<br /> }
}
If someone could shed some light on this it would be much appreciated.
(To translate lovegx999 - "He can't turn it off either, and it makes him sad")
Thanks in advance.
$config['openid']['enabled'] = false; does not work.
inviteonly also does not prevent from openid login. can somebody confirm that? that would be a security issue.
In your config.php:
$config['plugins']['default'] = array();
That will load none of the addons, but you can append anything you need to that, follow the README for more info on loading in plugins.
unset($config['plugins']['default']['OpenID']);
in config.php
Works fine with statusnet 0.9.1
unset($config['plugins']['default']['OpenID']);
Works great
unset($config['plugins']['default']['OpenID']);
in config.php
$config['openid']['enabled']in the code, so it won't do anything to set it. The only way for this to be "turned off" is by removing the plugin in the config.php like @abulte mentioned:unset($config['plugins']['default']['OpenID']);Done and done.