Skip to content

giofreitas/one-click-login

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 11, 2018 23:55

OneClick Login for Adminer

Display a list of predefined database servers to login with just one click. Don't use this in production enviroment unless the access is restricted

Create a file servers.php and define your database details with the following structure

<?php
return [
	
    '{host}' => array(
		// Required parameters
        'username'  => '{username}',
        'pass'      => '{password}',
        // Optional parameters
        'label'     => 'MySQL',
        'databases' => array(
            '{database_1_name}' => 'Database 1',
            '{database_2_name}' => 'Database 2'
        )
    ),
];

Instantiate OnClick Login according to adminer instructions from adminer

new OneClickLogin(include 'path/to/servers.php');

About

Adminer plugin to display a list of predefined database servers to login with just one click.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages