Skip to content

Support multiple auth plugins #1462

@yeya

Description

@yeya

Haraka version

2.7.3

Expected behavior

When multiple auth plugins are enabled, when the first one is denied - the next one should try to authenticate.

Observed behavior

Only the first auth plugin works, if the authentication failed - the client is denied

Steps to reproduce

Enable 2 auth modules, and try to authenticate by the second one.

Hi there

To make it work I guess that I need to call next() when the first auth plugin failed instead of calling cb(false), am I right?

How can i gain access to the next function inside the check_plain_pass function?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions