Changed settings length struct

master
Alex 2021-06-25 21:43:11 +02:00
parent 76bb6332c9
commit 371197a5dd
1 changed files with 6 additions and 1 deletions

View File

@ -39,6 +39,11 @@ type rabbitmq struct {
type settings struct { type settings struct {
ExpiredTime int ExpiredTime int
DefaultLanguageId int
Lengths settingsLengths `toml:"lengths"`
}
type settingsLengths struct {
UsernameMinLen int UsernameMinLen int
UsernameMaxLen int UsernameMaxLen int
EmailMinLen int EmailMinLen int