mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-23 22:40:24 +02:00
[#7681] changed settings app url input to type=text
This commit is contained in:
1 parent
4396369bb9
commit
3cedf032ca
5 files changed
+10
-3
No files matched your search
@@ -548,6 +548,7 @@ func (c MetaConfig) Validate() error {
|
||||
return validation.ValidateStruct(&c,
|
||||
validation.Field(&c.AccentColor, validation.Length(7, 7), is.HexColor),
|
||||
validation.Field(&c.AppName, validation.Required, validation.Length(1, 255)),
|
||||
// @todo when replacing the URL validator we may need a system migration to normalize values without protocol
|
||||
validation.Field(&c.AppURL, validation.Required, is.URL),
|
||||
validation.Field(&c.SenderName, validation.Required, validation.Length(1, 255)),
|
||||
validation.Field(&c.SenderAddress, is.EmailFormat, validation.Required),
|
||||
|
||||
Reference in new issue
Block a user