Skip to content

Session timeout #381

Closed
Closed
@agaskell

Description

@agaskell

I changed the signToken function to this in auth.service:

function signToken(id) {
  return jwt.sign({ _id: id }, config.secrets.session, { expiresInMinutes: 9000000 });
}

My users are being prompted to login daily, sometimes multiple times per day. Is there anything else I need to configure for session persistence?

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