How to disable openID in 0.9 beta 3?

I've tried this command:
$config['openid']['enabled'] = false;
but it's not work?
so, how to disable openid in 0.9 beta 3 statusnet installation?

Comments

  • 无法关闭 ~~~郁闷
  • I would also like to know how this is implemented by others as well.

    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.
  • same problem here with beta4.
    $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.
  • The only option I have found is to override the default plugins array.

    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.
  • 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.
  • I used
    unset($config['plugins']['default']['OpenID']);
    in config.php

    Works fine with statusnet 0.9.1
  • The user and all related content has been deleted.
  • I used
    unset($config['plugins']['default']['OpenID']);
    Works great
  • unset($config['plugins']['default']['OpenID']); works like a charm - thanks
  • @abulte Works like a charm.
  • Solution provided by @abulte works for me on 0.9.7


    unset($config['plugins']['default']['OpenID']);
    in config.php
  • 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']);

    Done and done.
  • Hi im prabin
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID