Skip to content

Slack ignores CAPTCHA_HANDLER_TOKEN #2428

Closed
@AlexP11223

Description

@AlexP11223

Looks like Slack always uses token from SLACK_TOKEN ignoring CAPTCHA_HANDLER_TOKEN.

const {channel, token} = config.notifications.slack;
const {pollInterval, responseTimeout, userId} = config.captchaHandler;

I guess it should either try CAPTCHA_HANDLER_TOKEN first when calling getSlackCaptchaInputAsync, and then maybe fallback to SLACK_TOKEN if empty, or the documentation needs to be updated.

@klords

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions