knock icon indicating copy to clipboard operation
knock copied to clipboard

Setting token lifetime according to user field

Open Joaquim-Ferrer opened this issue 4 years ago • 0 comments

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?

Joaquim-Ferrer avatar Oct 17 '20 00:10 Joaquim-Ferrer