acces token table

This commit is contained in:
Simon Martens
2025-05-23 09:32:01 +02:00
parent b81d783e8c
commit 9e922aa49a
9 changed files with 271 additions and 30 deletions

View File

@@ -87,6 +87,13 @@ func sessionTokensFields(usersCollectionId string) core.FieldsList {
Name: dbmodels.SESSIONS_PERSIST_FIELD,
Presentable: true,
},
&core.SelectField{
Name: dbmodels.SESSIONS_STATUS_FIELD,
Required: true,
Presentable: true,
MaxSelect: 1,
Values: dbmodels.TOKEN_STATUS_VALUES,
},
)
return fields