Skip to content
Discussion options

You must be logged in to vote

This works:

use LdapRecord\Container;

$connection = Container::getConnection('default');
$connection->auth()->attempt('[email protected]', 'password');

but this doesn't:


use Illuminate\Support\Facades\Auth;

$credentials = [
    'userprincipalname' => '[email protected]',
    'password' => 'password',
];

Auth::attempt($credentials)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@anchan42
Comment options

@anchan42
Comment options

@anchan42
Comment options

Answer selected by anchan42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants