add pronoun field to user profiles

This commit is contained in:
hazycora 2023-09-25 21:39:12 -05:00
parent efd0f0f224
commit f8e48e066a
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E
11 changed files with 19 additions and 1 deletions

View file

@ -41,6 +41,7 @@ type EditUserOption struct {
MustChangePassword *bool `json:"must_change_password"`
Website *string `json:"website" binding:"OmitEmpty;ValidUrl;MaxSize(255)"`
Location *string `json:"location" binding:"MaxSize(50)"`
Pronouns *string `json:"pronouns" binding:"MaxSize(50)"`
Description *string `json:"description" binding:"MaxSize(255)"`
Active *bool `json:"active"`
Admin *bool `json:"admin"`