form/admin: don't allow "+" in username/email

Jellyfin doesn't like this.
This commit is contained in:
Harvey Tindall
2024-08-24 14:21:15 +01:00
parent a7aa3fd53e
commit 6c30a1ff40
9 changed files with 64 additions and 9 deletions
+3 -2
View File
@@ -5,8 +5,9 @@ import (
)
type stringResponse struct {
Response string `json:"response" example:"message"`
Error string `json:"error" example:"errorDescription"`
Response string `json:"response" example:"message"`
ErrorText string `json:"error" example:"No special symbols allowed."`
ErrorCode string `json:"error_code" example:"errorSpecialSymbols"`
}
type boolResponse struct {