diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/cli/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go index f46d156..a9bff2e 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -77,6 +77,7 @@ func sendProfile(state *eduvpn.VPNState, data string) { // The callback function // If OAuth is started we open the browser with the Auth URL // If we ask for a profile, we send the profile using command line input +// Note that this has an additional argument, the vpn state which was wrapped into this callback function below func stateCallback(state *eduvpn.VPNState, oldState string, newState string, data string) { if newState == "OAuth_Started" { openBrowser(data) |
