update
This commit is contained in:
parent
757918798c
commit
7b2333e3a8
@ -213,7 +213,7 @@ func fetchTokenFromAPI(username, password string) (string, error) {
|
||||
|
||||
url := cfg.APITokenUrl
|
||||
reqBody := map[string]string{
|
||||
"username": username,
|
||||
"name": username,
|
||||
"password": password,
|
||||
}
|
||||
reqBodyJson, _ := json.Marshal(reqBody)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user