Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

[2.0] Windows Authenticate Undefined Method #83

Closed
unixtime opened this issue Apr 4, 2016 · 3 comments
Closed

[2.0] Windows Authenticate Undefined Method #83

unixtime opened this issue Apr 4, 2016 · 3 comments
Labels

Comments

@unixtime
Copy link

unixtime commented Apr 4, 2016

Upgrading to package 2.0 is giving me an error. reverted back to 1.4 - I am not sure if I am missing something in 2.0

I also used the new adldap.conf config.

Call to undefined method Adldap\Laravel\Middleware\WindowsAuthenticate::getDefaultConnectionName() in /Volumes/Docker/ASPortal/auth/vendor/adldap2/adldap2-laravel/src/Traits/ImportsUsers.php on line 246
    protected $middlewareGroups = [
        'web' => [
            \App\Http\Middleware\EncryptCookies::class,
            \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
            \Illuminate\Session\Middleware\StartSession::class,
            \Illuminate\View\Middleware\ShareErrorsFromSession::class,
            \App\Http\Middleware\VerifyCsrfToken::class,
            \Adldap\Laravel\Middleware\WindowsAuthenticate::class,

        ],

It works perfect in 1.4

Thank you.

@stevebauman stevebauman added the bug label Apr 4, 2016
@stevebauman
Copy link
Member

Fix coming shortly, thanks!

@unixtime
Copy link
Author

unixtime commented Apr 4, 2016

You simply rock!!!

@stevebauman
Copy link
Member

Haha thanks! Appreciate you using Adldap2!

@stevebauman stevebauman changed the title Kernel [2.0] Windows Authenticate Undefined Method Apr 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants