Skip to content

Commit

Permalink
Merge pull request #2 from dsdevbe/dev
Browse files Browse the repository at this point in the history
Added support for 4.2.x
  • Loading branch information
Sascha Dens committed Oct 28, 2014
2 parents f50f3b9 + 8d31971 commit 4d50fcc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ldap-connector
Provides an solution for authentication users with LDAP for Laravel 4.1
Provides an solution for authentication users with LDAP for Laravel 4.2.x

## Installation
1. Install this package through Composer:
Expand Down Expand Up @@ -34,9 +34,9 @@ Provides an solution for authentication users with LDAP for Laravel 4.1

## Usage
The LDAP plugin is an extension of the AUTH class and will act the same as normal usage with Eloquent driver.

```php
if (Auth::attempt(array('email' => $email, 'password' => $password)))
if (Auth::attempt(array('username' => $email, 'password' => $password)))
{
return Redirect::intended('dashboard');
}
Expand Down
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@
],
"require": {
"php": ">=5.3.0",
"illuminate/support": "4.1.*",
"adldap/adldap": "v4.0-stable"
},
"require-dev": {
"mockery/mockery": "dev-master"
"illuminate/support": "4.2.*",
"adldap/adldap": "4.0-stable"
},
"autoload": {
"psr-0": {
Expand Down
Empty file modified tests/AuthLdapUserProviderTest.php
100644 → 100755
Empty file.

0 comments on commit 4d50fcc

Please sign in to comment.