Explorar o código

auto update script executed

Toby Chui hai 1 ano
pai
achega
c65f2320b1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      mod/ganserv/authkey.go

+ 2 - 0
mod/ganserv/authkey.go

@@ -48,6 +48,8 @@ func TryLoadorAskUserForAuthkey() string {
 		}
 	}
 
+	authKey = strings.TrimSpace(authKey)
+
 	if authKey == "" {
 		//Ask user for input
 		reader := bufio.NewReader(os.Stdin)