Skip to content
Manage Password with OVH API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugins/password/drivers
CONTRIBUTING.md
LICENSE
README.md

README.md

roundcube-ovh-password

Manage Password with OVH API. Use OVH Password plugin to change your password directly inside Roundcube

The plugin is known to be working with Roundcube version 1.0 to ...

Features

  • Change password without old password check

Requirements

  • OVH API library

Installation

  1. Add in the root composer.json file, in the require section
"require": {
"php": ">=5.4.0",
"pear/pear-core-minimal": "~1.10.1",
"...": "...",
"ovh/ovh": "dev-master"
},

and launch the update with

composer update
  1. Install the code in the drivers plugin directory and name it exactly ovh.php (roundcube/plugins/password/drivers/ovh.php)
  2. Add the plugin name "password" in the plugins array of the config file (config/config.inc.php formely config.inc.php.sample). It must match the name of the directory used in #1.
$config['plugins'] = array(...,'password');
or
$config['plugins'] = [
...,
'password'
];
  1. Go to https://api.ovh.com/createToken/. Define the name, description, validity and credentials of your application and take the information provided on the registration document after clicking the [Create Token] button, and fill in your configuration file.
Credentials :
GET /emails/domain/*
POST /email/domain/*
  1. Set your API keys in config/config.inc.php.
$config['ovh_application_key'] = '%MddoeEXAMPLE*$eà@er';
$config['ovh_application_secret'] = 'TrucKL54?_dopsd%%';
$config['ovh_endpoint'] = 'ovh-eu';	// choose your provider between ovh-eu ot ovh-ca
$config['ovh_consumer_key'] = 'SecretK3YP^^P';
  1. Put in the plugins/password/config.inc.php file (config.inc.php formely config.inc.php.dist)
$config['password_driver'] = 'ovh';
$config['password_confirm_current'] = false;
$config['password_minimum_length'] = 9;
  1. Test your installation. You're done!

License

GPL2 see LICENCE file

Source

https://github.com/brouardt/roundcube-ovh-password

Author

Thierry Brouard - TBPRO Organization

You can’t perform that action at this time.