Explorar el Código

auto update script executed

Toby Chui hace 1 año
padre
commit
c65f2320b1
Se han modificado 1 ficheros con 2 adiciones y 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)