Skip to content
This repository was archived by the owner on Mar 22, 2021. It is now read-only.
This repository was archived by the owner on Mar 22, 2021. It is now read-only.

Setting token lifetime according to user field #270

Description

@Joaquim-Ferrer

According to the docs it only seems to be possible to change the token lifetime according to the class of the model but my admins are defined by a boolean field .admin in the user.

Is it possible to define the token lifetime according to an user field?

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