mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-03 08:11:51 +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
|
||||
}
|
||||
|
||||
host := strings.Replace(viper.GetString("hostTemplate"), "%%", data.(string), 1)
|
||||
|
||||
// authenticated
|
||||
seed := make([]byte, 16)
|
||||
rand.Read(seed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue