mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 06:41:11 +00:00
feat: add ability define user groups for sign up tokens (#1155)
This commit is contained in:
@@ -344,6 +344,9 @@ func (s *TestService) SeedDatabase(baseURL string) error {
|
||||
ExpiresAt: datatype.DateTime(time.Now().Add(24 * time.Hour)),
|
||||
UsageLimit: 1,
|
||||
UsageCount: 0,
|
||||
UserGroups: []model.UserGroup{
|
||||
userGroups[0],
|
||||
},
|
||||
},
|
||||
{
|
||||
Base: model.Base{
|
||||
|
||||
Reference in New Issue
Block a user