Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for 4.2.x #2

Merged
merged 1 commit into from
Oct 28, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.