Skip to content

Conversation

@oldskool73
Copy link

This simple change makes it possible to use your existing Auth model configured in config/admin.php, so e.g. I'm using :

/*
     * Authentication config
     */
    'auth'                    => [
        'model' => 'App\Models\User',
        'rules' => [
            'email' => 'required',
            'password' => 'required',
        ]
    ],

...which allows my normal users to log in to the admin area. The Sleeping-Owl/AdminAuth stuff is then unused.

Not tested extensively but doesn't seem to be causing any issues here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant