mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-13 04:19:19 +02:00
Dont delete too much
This commit is contained in:
parent
bc897f1011
commit
66669d7658
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ func handleRdpDownload(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
host := strings.Replace(viper.GetString("hostTemplate"), "%%", data.(string), 1)
|
||||||
|
|
||||||
// authenticated
|
// authenticated
|
||||||
seed := make([]byte, 16)
|
seed := make([]byte, 16)
|
||||||
rand.Read(seed)
|
rand.Read(seed)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue