Skip to content

iron-session: Bad usage. Password must be at least 32 characters long. #13

@pmbanugo

Description

@pmbanugo

I start the server successfully, but I get an error when I open localhost:3000.

Error says


[Req started] {"name":"1 GET /"}
26 |     );
27 |     Object.values(
28 |       normalizeStringPasswordToMap(userSessionOptions.password)
29 |     ).forEach((password) => {
30 |       if (password.length < 32) {
31 |         throw new Error(
                   ^
error: iron-session: Bad usage. Password must be at least 32 characters long.

is there a specific URL I need to add?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions