Setting token lifetime according to user field
Joaquim-Ferrer opened this issue · comments
Joaquim Ferrer commented
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?