Skip to content

cookieAuth or settings.requestDecoratorName #117

@jney

Description

@jney

just a quick question, i was reading the code an was wondering where cookieAuth https://github.com/hapijs/hapi-auth-cookie/blob/master/lib/index.js#L131 property came from ?

isn't it suppose to be:

request[settings.requestDecoratorName].reply = reply

fyi i didn't make a pull request because i haven't test the code, i was just try to understand how you got access to reply in decorate context. better useless question than a mistake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug or defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions