Skip to content

Commit

Permalink
fix(auto-login): fix logout address due to mistake function name spel…
Browse files Browse the repository at this point in the history
…ling.
  • Loading branch information
genshen committed May 13, 2019
1 parent 0869418 commit 26f3f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpn_plugin/auto_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (al *AutoLogin) logoutAccount(uname, token string, cookies []*http.Cookie)
}

hc := http.Client{}
req, err := http.NewRequest("POST", al.LoginAddr(),
req, err := http.NewRequest("POST", al.LogoutAddr(),
strings.NewReader(form.Encode()))
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 26f3f20

Please sign in to comment.