try to make the web admin more user friendly

removed all the textarea with fields separated using "::".
This should, hopefully, improve user experience
This commit is contained in:
Nicola Murino
2021-05-23 22:02:01 +02:00
parent 02bb09ec01
commit 50e441849a
21 changed files with 1156 additions and 582 deletions

View File

@@ -245,7 +245,7 @@ func createCSRFToken() string {
func verifyCSRFToken(tokenString string) error {
token, err := jwtauth.VerifyToken(csrfTokenAuth, tokenString)
if err != nil || token == nil {
logger.Debug(logSender, "", "error validating CSRF: %v", err)
logger.Debug(logSender, "", "error validating CSRF token %#v: %v", tokenString, err)
return fmt.Errorf("unable to verify form token: %v", err)
}