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
trunk
equa 2023-03-14 13:53:26 -04:00
parent 02c5079e31
commit d5e6960573
1 changed files with 1 additions and 1 deletions

View File

@ -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")