steefaan/cakephp-multi-column-authenticate

Provides multi column form authentications.

dev-master 2016-03-13 00:07 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:03:37 UTC


README

Provides multi column form authentications.

Requirements

  • CakePHP 3.x
  • PHP 5.4.16 or greater

Installation

[Using Composer]

composer require steefaan/cakephp-multi-column-authenticate:dev-master

Enable plugin

Load the plugin in your app's config/bootstrap.php file:

Plugin::load('MultiColumnAuthenticate');

Usage

$this->loadComponent('Auth', [
    'authenticate' => [
        'MultiColumnAuthenticate.MultiColumn' => [
            'columns' => [
                'username',
                'email'
            ]
        ]
    ]
]);