From d5e69605737a341d1193383dbf17964cdbe9afca Mon Sep 17 00:00:00 2001 From: equa Date: Tue, 14 Mar 2023 13:53:26 -0400 Subject: [PATCH] fix spaces in passwords sometimes they showed up in the beginning/ends of passwords. there's no actual reason to have them otherwise so i'm just removing them --- request/gitea.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request/gitea.go b/request/gitea.go index 09a72a2..fa87c43 100644 --- a/request/gitea.go +++ b/request/gitea.go @@ -17,7 +17,7 @@ import ( email "git.tilde.town/tildetown/town/email" ) -const pwLetters = "!@#$%^&*() []{}:;,.<>/?abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890" +const pwLetters = "!@#$%^&*()[]{}:;,.<>/?abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890" func ProcessGitea(rp string) error { apiToken := os.Getenv("GITEA_TOKEN")