Added email and gravatar to user config

This commit is contained in:
Thomas Miceli
2023-03-19 16:29:14 +01:00
parent 858ee3e70a
commit 7b27db8849
6 changed files with 107 additions and 23 deletions

View File

@ -148,7 +148,7 @@ func validateReservedKeywords(fl validator.FieldLevel) bool {
name := fl.Field().String()
restrictedNames := map[string]struct{}{}
for _, restrictedName := range []string{"register", "login", "logout", "ssh-keys", "admin", "all"} {
for _, restrictedName := range []string{"register", "login", "logout", "config", "admin", "all"} {
restrictedNames[restrictedName] = struct{}{}
}