Skip to content

How to update req.user object? #311

@perzy

Description

@perzy

Now I want to add some filed to req.user on runtime.
But how can I update the req.user.

I set req.user.avatar = "xxx"
But I can't get this avatar field next request.

How should I do it?

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