diff --git a/tokens/record.go b/tokens/record.go index 59fc1dc2a..d725c3843 100644 --- a/tokens/record.go +++ b/tokens/record.go @@ -20,6 +20,8 @@ func NewRecordAuthToken(app core.App, record *models.Record) (string, error) { "id": record.Id, "type": TypeAuthRecord, "collectionId": record.Collection().Id, + "verified": record.GetBool("verified"), + "verified_at": record.GetDateTime("verified_at"), }, (record.TokenKey() + app.Settings().RecordAuthToken.Secret), app.Settings().RecordAuthToken.Duration,