mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-04 08:27:27 +08:00
add port to token
This commit is contained in:
@@ -45,7 +45,7 @@ func CreateServerToken(netID string) (string, error) {
|
||||
privAddr = network.LocalRange
|
||||
}
|
||||
|
||||
accessstringdec := address + "|" + address + "|" + netID + "|" + accesskey.Value + "|" + privAddr
|
||||
accessstringdec := " " + "|"+ address + "|" + address + "|" + netID + "|" + accesskey.Value + "|" + privAddr
|
||||
|
||||
accesskey.AccessString = base64.StdEncoding.EncodeToString([]byte(accessstringdec))
|
||||
|
||||
|
Reference in New Issue
Block a user