Logout any existing sessions
This commit is contained in:
parent
547172a8e3
commit
ee0ce195ec
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ func makeTimestamp() int64 {
|
|||
}
|
||||
|
||||
func (v *VodafoneStation) getLoginSalts() (*LoginResponseSalts, error) {
|
||||
responseBody, err := v.doRequest("POST", v.URL+"/api/v1/session/login", "username=admin&password=seeksalthash")
|
||||
responseBody, err := v.doRequest("POST", v.URL+"/api/v1/session/login", "username=admin&password=seeksalthash&logout=true")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue