Skip to content

The auth_adapters config option is using an associative array with integer keys. An list array will cause unwanted results. #99

@visto9259

Description

@visto9259

In the lmc_user config, the key auth_adapters is expecting an associative array with the following signature:

'lmc_user' => [
   'auth_adapters' => [
        100 => 'firtsadaptername`,   // where 100 is the priority and is an integer
        200 => 'secondadaptername',
   ],
]

if one was to pass a list array, then it would be treated the same as:

'lmc_user' => [
   'auth_adapters' => [
        0 => 'firtsadaptername`,   
        1 => 'secondadaptername',
   ],
]

Althought, it would defeat the purpose to use a list array, there should be a assertion in the factory to detect and reject list arrays.

Metadata

Metadata

Assignees

No one assigned

    Labels

    V3To be fixed in version 3bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions