Dont delete too much

This commit is contained in:
Bolke de Bruin 2020-07-17 11:28:51 +02:00
parent bc897f1011
commit 66669d7658

View file

@ -27,6 +27,8 @@ func handleRdpDownload(w http.ResponseWriter, r *http.Request) {
return
}
host := strings.Replace(viper.GetString("hostTemplate"), "%%", data.(string), 1)
// authenticated
seed := make([]byte, 16)
rand.Read(seed)