From 371197a5ddce061c84ee3c93e02277d54df45746 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 25 Jun 2021 21:43:11 +0200 Subject: [PATCH] Changed settings length struct --- modules/config/config.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/config/config.go b/modules/config/config.go index edbd89a..d34c159 100644 --- a/modules/config/config.go +++ b/modules/config/config.go @@ -38,7 +38,12 @@ type rabbitmq struct { } type settings struct { - ExpiredTime int + ExpiredTime int + DefaultLanguageId int + Lengths settingsLengths `toml:"lengths"` +} + +type settingsLengths struct { UsernameMinLen int UsernameMaxLen int EmailMinLen int