hyperf-http-auth icon indicating copy to clipboard operation
hyperf-http-auth copied to clipboard

Auth driver is not defined

Open SecretKeeper opened this issue 6 years ago • 2 comments

hello , i have installed the package follow the instructions and also added

    "fx/eloquent-provider": "^2.0",
    "hyperf/session": "^2.0",
    "fx/session-guard": "^2.0"

with and the http-auth.php:

'guards' => [
        'web' => [
            'driver' => 'session',
            'provider' => 'user-eloquent',
        ],
    ],

it throws [ERROR] Auth driver [session] for guard [web] is not defined.[144] in /usr/share/nginx/html/hyperf/vendor/fx/hyperf-http-auth/src/HttpAuthManage.php

SecretKeeper avatar Aug 16 '20 14:08 SecretKeeper

fixed: 8c65537d232e37534921b19cde636d0e9d17c83f

nfangxu avatar Aug 17 '20 02:08 nfangxu

fixed: v2.0.2

nfangxu avatar Aug 27 '20 02:08 nfangxu